Interface AddChatToList

Adds a chat to a chat list. A chat can't be simultaneously in Main and Archive chat lists, so it is automatically removed from another one if needed. Request type for Tdjson#addChatToList.

interface AddChatToList {
    @type: "addChatToList";
    chat_id: number;
    chat_list: ChatList;
}

Properties

@type: "addChatToList"
chat_id: number

Chat identifier.

chat_list: ChatList

The chat list. Use getChatListsToAddChat to get suitable chat lists.