Skip to main content

messages.forumTopics

Contains information about multiple forum topics

type tg.MessagesForumTopics struct { /* ... */ }

Fields

NameTypeRequiredDescription
OrderByCreateDateboolWhether the returned topics are ordered by creation date; if set, pagination by offset_date should use forumTopic.date; otherwise topics are ordered by the last message date, so paginate by the date of the message referenced by forumTopic top_message.
CountintyesTotal number of topics matching query; may be more than the topics contained in topics in which case pagination is required.
Topics[]ForumTopicClassyesForum topics
Messages[]MessageClassyesRelated messages (contains the messages mentioned by forumTopic.top_message).
Chats[]ChatClassyesRelated chats
Users[]UserClassyesRelated users
PtsintyesEvent count after generation

Returned by

References