Interface GetTopChats

Returns a list of frequently used chats. Request type for Tdjson#getTopChats.

interface GetTopChats {
    @type: "getTopChats";
    category: TopChatCategory;
    limit: number;
}

Properties

Properties

@type: "getTopChats"
category: TopChatCategory

Category of chats to be returned.

limit: number

The maximum number of chats to be returned; up to 30.