Interface GetForumTopics

Returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server. Request type for Tdjson#getForumTopics.

interface GetForumTopics {
    @type: "getForumTopics";
    chat_id: number;
    limit: number;
    offset_date: number;
    offset_message_id: number;
    offset_message_thread_id: number;
    query: string;
}

Properties

@type: "getForumTopics"
chat_id: number

Identifier of the forum chat.

limit: number

The maximum number of forum topics to be returned; up to 100. For optimal performance, the number of returned forum topics is chosen by TDLib and can be smaller than the specified limit.

offset_date: number

The date starting from which the results need to be fetched. Use 0 or any date in the future to get results from the last topic.

offset_message_id: number

The message identifier of the last message in the last found topic, or 0 for the first request.

offset_message_thread_id: number

The message thread identifier of the last found topic, or 0 for the first request.

query: string

Query to search for in the forum topic's name.