Skip to content

getForumTopics

Function · TDLib 1.8.67 · d1085f9c

Returns found forum topics in a forum supergroup chat or a chat with a bot with topics. This is a temporary method for getting information about topic list from the server

getForumTopics(
  chat_id: int53,
  query: string,
  offset_date: int32,
  offset_message_id: int53,
  offset_forum_topic_id: int32,
  limit: int32
) → ForumTopics

chat_id

int53

Identifier of the chat

query

string

Query to search for in the forum topic's name

offset_date

int32

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

int53

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

offset_forum_topic_id

int32

The forum topic identifier of the last found topic, or 0 for the first request

limit

int32

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