class pyrogram.raw.types.ChatInviteExported#

Exported chat invite.

Constructor of ExportedChatInvite.

  • Layer: 158

  • ID: AB4A819

  • link (str) – Chat invitation link.

  • admin_id (int 64-bit) – ID of the admin that created this chat invite.

  • date (int 32-bit) – When was this chat invite created.

  • revoked (bool, optional) – Whether this chat invite was revoked.

  • permanent (bool, optional) – Whether this chat invite has no expiration.

  • request_needed (bool, optional) – Whether users importing this invite link will have to be approved to join the channel or group.

  • start_date (int 32-bit, optional) – When was this chat invite last modified.

  • expire_date (int 32-bit, optional) – When does this chat invite expire.

  • usage_limit (int 32-bit, optional) – Maximum number of users that can join using this link.

  • usage (int 32-bit, optional) – How many users joined using this link.

  • requested (int 32-bit, optional) – Number of users that have already used this link to join.

  • title (str, optional) – Custom description for the invite link, visible only to admins.


This object can be returned by 1 function.


Export an invite link for a chat.