Interface JoinChat

Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. Request type for Tdjson#joinChat.

interface JoinChat {
    @type: "joinChat";
    chat_id: number;
}

Properties

Properties

@type: "joinChat"
chat_id: number

Chat identifier.