Contains information about multiple forum topics
Constructor schema is available as of layer 148. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
order_by_create_date | flags.0?true | Whether 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 . |
count | int | Total number of topics matching query; may be more than the topics contained in topics , in which case pagination is required. |
topics | Vector<ForumTopic> | Forum topics |
messages | Vector<Message> | Related messages (contains the messages mentioned by forumTopic.top_message ). |
chats | Vector<Chat> | Related chats |
users | Vector<User> | Related users |
pts | int | Event count after generation |
Represents a forum topic.
Object describing a message.
How to fetch results from large lists of objects.
How to subscribe to updates and handle them properly.
Telegram allows creating forums with multiple distinct topics.