Constructor: messages.forumTopics
Contains information about multiple forum topics
Attributes:
Name | Type | Required | Description |
---|---|---|---|
order_by_create_date | Bool | Optional | Whether 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 . |
count | int | Yes | Total number of topics matching query; may be more than the topics contained in topics , in which case pagination is required. |
topics | Array of ForumTopic | Yes | Forum topics |
messages | Array of Message | Yes | Related messages (contains the messages mentioned by forumTopic.top_message ). |
chats | Array of Chat | Yes | Related chats |
users | Array of User | Yes | Related users |
pts | int | Yes | Event count after generation |
Type: messages.ForumTopics
Example:
$messages_forumTopics = ['_' => 'messages.forumTopics', 'order_by_create_date' => Bool, 'count' => int, 'topics' => [ForumTopic, ForumTopic], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int];