messages.EditExportedChatInvite#

class pyrogram.raw.functions.messages.EditExportedChatInvite#

Edit an exported chat invite.

Details:
  • Layer: 158

  • ID: BDCA2F75

Parameters:
  • peer (InputPeer) – Chat.

  • link (str) – Invite link.

  • revoked (bool, optional) – Whether to revoke the chat invite.

  • expire_date (int 32-bit, optional) – New expiration date.

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

  • request_needed (bool, optional) – Whether admin confirmation is required before admitting each separate user into the chat.

  • title (str, optional) – Description of the invite link, visible only to administrators.

Returns:

messages.ExportedChatInvite