telegram api constructor · layer 229 · #367617d3

messages.forumTopics

Contains information about multiple forum topics

definition

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

history

present in layers 148–229

idlayers
#367617d3148–229