Interface GetChats

Returns an ordered list of chats from the beginning of a chat list. For informational purposes only. Use loadChats and updates processing instead to maintain chat lists in a consistent state. Request type for Tdjson#getChats.

interface GetChats {
    @type: "getChats";
    chat_list: ChatList;
    limit: number;
}

Properties

Properties

@type: "getChats"
chat_list: ChatList

The chat list in which to return chats; pass null to get chats from the main chat list.

limit: number

The maximum number of chats to be returned.