Layer 220
constructor
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

Name Type Description
Flags # Flags, see TL conditional fields
OrderByCreateDate flags.0?true Whether the returned topics are ordered by creation date; if set, pagination by offset_date should use forum Topic. date; otherwise topics are ordered by the last message date, so paginate by the date of the message referenced by forum Topic. 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 forum Topic. top_message ).
Chats Vector<Chat> Related chats
Users Vector<User> Related users
Pts int Event count after generation

Gogram Example

// Creating MessagesForumTopics constructor
obj := &tg.MessagesForumTopics{
    Count: 0,
    Topics: []tg.ForumTopic{&tg.ForumTopic{}},
    Messages: []tg.Message{&tg.Message{}},
    Chats: []tg.Chat{&tg.Chat{}},
    Users: []tg.User{&tg.User{}},
    Pts: 0,

    // Optional fields:
    // OrderByCreateDate: true,
}