telegram api constructor · layer 229 · #c776ba4e

messages.channelMessages

Channel messages

definition

messages.channelMessages#c776ba4e flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;

parameters

nametypedescription
flags#Flags, see TL conditional fields
inexactflags.1?trueIf set, returned results may be inexact
ptsintEvent count after generation
countintTotal number of results were found server-side (may not be all included here)
offset_id_offsetflags.2?intIndicates 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}.
messagesVector<Message>Found messages
topicsVector<ForumTopic>Forum topic information
chatsVector<Chat>Chats
usersVector<User>Users

type

messages.Messages · other constructors: messages.messages, messages.messagesSlice, messages.messagesNotModified

history

present in layers 46–229 · constructor id changed 3×

idlayers
#bc0f17bc46
#99262e3762–119
#64479808120–148
#c776ba4e149–229