JoinChatByInviteLink constructor

JoinChatByInviteLink(
  1. {required String invite_link,
  2. int? extra,
  3. int? clientId}
)

Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created

Returns Chat

Implementation

JoinChatByInviteLink