Airgram

Guides
/
/
Output types

ChatInviteLink

Contains a chat invite link.

This is an alias for the ChatInviteLinkUnion type.


NameTypeDescription
_"chatInviteLink"
inviteLinkstring Chat invite link
namestring Name of the link
creatorUserIdnumber User identifier of an administrator created the link
datenumber Point in time (Unix timestamp) when the link was created
editDatenumber Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown
expirationDatenumber Point in time (Unix timestamp) when the link will expire; 0 if never
memberLimitnumber 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
memberCountnumber Number of chat members, which joined the chat using the link
pendingJoinRequestCountnumber Number of pending join requests created using this link
createsJoinRequestboolean True, if the link only creates join request. If true, total number of joining members will be unlimited
isPrimaryboolean 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
isRevokedboolean True, if the link was revoked