messages.channelMessages
Channel messages
type tg.MessagesChannelMessages struct { /* ... */ }
Implements messages.Messages.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Inexact | bool | — | 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) |
OffsetIDOffset | int | — | 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 | []MessageClass | yes | Found messages |
Topics | []ForumTopicClass | yes | Forum topic information |
Chats | []ChatClass | yes | Chats |
Users | []UserClass | yes | Users |
References
- Official documentation
- Generated Go reference
- TL definition:
messages.channelMessages#c776ba4e