Interface LoadDirectMessagesChatTopics

Loads more topics in a channel direct messages chat administered by the current user. The loaded topics will be sent through updateDirectMessagesChatTopic. Topics are sorted by their topic.order in descending order. Returns a 404 error if all topics have been loaded. Request type for Tdjson#loadDirectMessagesChatTopics.

interface LoadDirectMessagesChatTopics {
    @type: "loadDirectMessagesChatTopics";
    chat_id: number;
    limit: number;
}

Properties

Properties

@type: "loadDirectMessagesChatTopics"
chat_id: number

Chat identifier of the channel direct messages chat.

limit: number

The maximum number of topics to be loaded. For optimal performance, the number of loaded topics is chosen by TDLib and can be smaller than the specified limit, even if the end of the list is not reached.