ChatInviteLink#
- class pyrogram.types.ChatInviteLink#
An invite link for a chat.
- Parameters:
invite_link (
str
) – The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”.date (
datetime
) – The date when the link was created.is_primary (
bool
) – True, if the link is primary.is_revoked (
bool
) – True, if the link is revoked.creator (
User
, optional) – Creator of the link.name (
str
, optional) – Invite link namecreates_join_request (
bool
, optional) – True, if users joining the chat via the link need to be approved by chat administrators.start_date (
datetime
, optional) – Point in time when the link has been edited.expire_date (
datetime
, optional) – Point in time when the link will expire or has been expired.member_limit (
int
, optional) – Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999.member_count (
int
, optional) – Number of users that joined via this link and are currently member of the chat.pending_join_request_count (
int
, optional) – Number of pending join requests created using this link