telegram api constructor · layer 229 · #5f206716

messages.messagesSlice

Incomplete list of messages and auxiliary data.

definition

messages.messagesSlice#5f206716 flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int search_flood:flags.3?SearchPostsFlood 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, indicates that the results may be inexact
countintTotal number of messages in the list
next_rateflags.0?intRate to use in the offset_rate parameter in the next call to messages.searchGlobal
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}).
search_floodflags.3?SearchPostsFloodFor global post searches », the remaining amount of free searches, here query_is_free is related to the current call only, not to the next paginated call, and all subsequent pagination calls will always be free.
messagesVector<Message>List of messages
topicsVector<ForumTopic>
chatsVector<Chat>List of chats mentioned in messages
usersVector<User>List of users mentioned in messages and chats

type

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

history

present in layers 2–229 · constructor id changed 5×

idlayers
#0b446ae32–91
#a6c47aaa92–99
#c8edce1e100–119
#3a54685e120–210
#762b263d211–215
#5f206716216–229