Raw.messages.ForumTopics

Raw.messages.ForumTopics

Contains information about multiple forum topics

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;
export namespace Raw {
  export namespace messages {
    export class ForumTopics {
      constructor(params: {
        orderByCreateDate?: boolean;
        count: number;
        topics: Array<Raw.TypeForumTopic>;
        messages: Array<Raw.TypeMessage>;
        chats: Array<Raw.TypeChat>;
        users: Array<Raw.TypeUser>;
        pts: number;
      }) {}
    }
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x367617d3

Property

  • orderByCreateDate : boolean or undefined

    Whether the returned topics are ordered by creation date; if set, pagination by offsetDate should use forumtopic.date; otherwise topics are ordered by the last message date, so paginate by the date of the message referenced by forumtopic.topMessage.

  • count : number

    Total number of topics matching query; may be more than the topics contained in topics, in which case pagination is required.

  • topics : Array of Raw.TypeForumTopic

    Forum topics

  • messages : Array of Raw.TypeMessage

    Related messages (contains the messages mentioned by forumtopic.topMessage).

  • chats : Array of Raw.TypeChat

    Related chats

  • users : Array of Raw.TypeUser

    Related users

  • pts : number

    Event count after generation