get_chat_invite_link()

Get detailed information about a chat invite link.

Usable by Users Bots
  • chat_id (``int`` | ``str``) – Unique identifier for the target chat or username of the target channel/supergroup (in the format @username).

  • invite_link (str) – The invite link.

:obj:`~pyrogram.types.ChatInviteLink` (On success, the invite link is returned.)