get_chat_invite_link()
- Client.get_chat_invite_link()
Get detailed information about a chat invite link.
Usable by Users Bots
- Parameters:
chat_id (
int|str) – Unique identifier for the target chat or username of the target channel/supergroup (in the format @username). You can also use chat public link in form of t.me/<username> (str).invite_link (str) – The invite link.
- Returns:
ChatInviteLink– On success, the invite link is returned.