messages.getExportedChatInvite

Get info about a chat invite

 Method schema is available as of layer 124. Switch ยป

Parameters

Name Type Description
peer InputPeer Chat
link string Invite link

Result

messages.ExportedChatInvite

Possible errors

Code Type Description
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
403 CHAT_WRITE_FORBIDDEN You can't write in this chat.
400 INVITE_HASH_EXPIRED The invite link has expired.
400 PEER_ID_INVALID The provided peer id is invalid.