pub async fn get_forum_topics(
chat_id: i64,
query: String,
offset_date: i32,
offset_message_id: i64,
offset_message_thread_id: i64,
limit: i32,
client_id: i32,
) -> Result<ForumTopics, Error>Expand description
Returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server
§Arguments
chat_id- Identifier of the forum chatquery- Query to search for in the forum topic’s nameoffset_date- 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 topicoffset_message_id- The message identifier of the last message in the last found topic, or 0 for the first requestoffset_message_thread_id- The message thread identifier of the last found topic, or 0 for the first requestlimit- 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 limitclient_id- The client id to send the request to