Skip to main content

messages.channelMessages

Channel messages

type tg.MessagesChannelMessages struct { /* ... */ }

Implements messages.Messages.

Fields

NameTypeRequiredDescription
InexactboolIf set, returned results may be inexact
PtsintyesEvent count after generation
CountintyesTotal number of results were found server-side (may not be all included here)
OffsetIDOffsetintIndicates 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[]MessageClassyesFound messages
Topics[]ForumTopicClassyesForum topic information
Chats[]ChatClassyesChats
Users[]UserClassyesUsers

References