messages

messages.joinChatByInviteLink

Allows to enter the chat by the invitation link.

Parameters

link

string

Invitation link.

Required parameter

Result

Returns an object with the only field chat_id containing chat ID.

Error codes

103
Out of limits
917
You don't have access to this chat
1019
Chat can not be joined because user who want to join not organization member

Common errors may occur during execution