ChatInviteLink
Contains a chat invite link.
This is an alias for the ChatInviteLinkUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "chatInviteLink" | |
inviteLink | string | Chat invite link |
name | string | Name of the link |
creatorUserId | number | User identifier of an administrator created the link |
date | number | Point in time (Unix timestamp) when the link was created |
editDate | number | Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown |
expirationDate | number | Point in time (Unix timestamp) when the link will expire; 0 if never |
memberLimit | number | The maximum number of members, which can join the chat using the link simultaneously; 0 if not limited. Always 0 if the link requires approval |
memberCount | number | Number of chat members, which joined the chat using the link |
pendingJoinRequestCount | number | Number of pending join requests created using this link |
createsJoinRequest | boolean | True, if the link only creates join request. If true, total number of joining members will be unlimited |
isPrimary | boolean | True, if the link is primary. Primary invite link can't have name, expiration date, or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a given time |
isRevoked | boolean | True, if the link was revoked |