telegram api constructor · layer 229 · #a4bcc6fe

updates.channelDifferenceTooLong

The provided pts + limit < remote pts. Simply, there are too many updates to be fetched (more than limit), the client has to resolve the update gap in one of the following ways (assuming the existence of a persistent database to locally store messages):

definition

updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

parameters

nametypedescription
flags#Flags, see TL conditional fields
finalflags.0?trueWhether there are more updates that must be fetched (always false)
timeoutflags.1?intClients are supposed to refetch the channel difference after timeout seconds have elapsed
dialogDialogDialog containing the latest PTS that can be used to reset the channel state
messagesVector<Message>The latest messages
chatsVector<Chat>Chats from messages
usersVector<User>Users from messages

type

updates.ChannelDifference · other constructors: updates.channelDifferenceEmpty, updates.channelDifference

history

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

idlayers
#5e16764646
#410dee0762–70
#6a9d7b3571–98
#a4bcc6fe99–229