ExportChatInvite

class pyrogram.raw.functions.messages.ExportChatInvite

Export an invite link for a chat.

Details
  • Layer: 126

  • ID: 0x14b9bcd7

Parameters
  • peer (InputPeer) – Chat.

  • legacy_revoke_permanent (bool, optional) – Telegram API parameter.

  • expire_date (int 32-bit, optional) – Telegram API parameter.

  • usage_limit (int 32-bit, optional) – Telegram API parameter.

Returns

ExportedChatInvite – Exported chat invite.