Interface JoinChatByInviteLink

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. Request type for Tdjson#joinChatByInviteLink.

interface JoinChatByInviteLink {
    @type: "joinChatByInviteLink";
    invite_link: string;
}

Properties

Properties

@type: "joinChatByInviteLink"
invite_link: string

Invite link to use.