Layer 227
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
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 MessagesForumTopicsObj constructor
obj := &tg.MessagesForumTopicsObj{
    OrderByCreateDate: nil,
    Count: 42,
    Topics: &tg.VectorForumTopic{},
    Messages: &tg.VectorMessage{},
    Chats: &tg.VectorChat{},
    Users: &tg.VectorUser{},
    // ... more required fields
}