messages.forumTopics #

Contains information about multiple forum topics

Layer 223

messages.forumTopics#367617d3 flags:# order_by_create_date:flags.0?true count:int topics:Vector<ForumTopic> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int = messages.ForumTopics;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
order_by_create_dateflags.0?trueWhether 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.
countintTotal number of topics matching query; may be more than the topics contained in topics, in which case pagination is required.
topicsVector<ForumTopic>Forum topics
messagesVector<Message>Related messages (contains the messages mentioned by forumTopic.top_message).
chatsVector<Chat>Related chats
usersVector<User>Related users
ptsintEvent count after generation

Type #

messages.ForumTopics

forumTopic #

Represents a forum topic.

Message #

Object describing a message.

Pagination in the API #

How to fetch results from large lists of objects.

Working with Updates #

How to subscribe to updates and handle them properly.

Forum topics #

Telegram allows creating forums with multiple distinct topics.