Skip to main content

updates.channelDifferenceTooLong

The passed pts is too old: one or more updates starting from the specified PTS were deleted from the message box of this channel. For supergroups/channels, this usually happens for updates older than latestPts - 100000 (though do not rely on this value, it's a server-side implementation detail that may change, and should not be used by clients in any way).

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

Implements updates.ChannelDifference.

Fields

NameTypeRequiredDescription
FinalboolWhether there are more updates that must be fetched (always set)
TimeoutintClients are supposed to refetch the channel difference after timeout seconds have elapsed
DialogDialogClassyesDialog containing the latest PTS that can be used to reset the channel state
Messages[]MessageClassyesThe latest messages (not starting from the passed pts, just the latest messages).
Chats[]ChatClassyesChats from messages
Users[]UserClassyesUsers from messages

References