Constructor: messages.channelMessages
Channel messages
Attributes:
Name | Type | Required | Description |
---|---|---|---|
inexact | Bool | Optional | If set, returned results may be inexact |
pts | int | Yes | Event count after generation |
count | int | Yes | Total number of results were found server-side (may not be all included here) |
offset_id_offset | int | Optional | Indicates the absolute position of messages[0] within the total result set with count count . This is useful, for example, if the result was fetched using offset_id , and we need to display a progress/total counter (like photo 134 of 200 , for all media in a chat, we could simply use photo ${offset_id_offset} of ${count} . |
messages | Array of Message | Yes | Found messages |
topics | Array of ForumTopic | Yes | Forum topic information |
chats | Array of Chat | Yes | Chats |
users | Array of User | Yes | Users |
Type: messages.Messages
Example:
$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'offset_id_offset' => int, 'messages' => [Message, Message], 'topics' => [ForumTopic, ForumTopic], 'chats' => [Chat, Chat], 'users' => [User, User]];