updates.ChannelDifferenceTooLong#
- class pyrogram.raw.types.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).
Constructor of
ChannelDifference.- Details:
Layer:
225ID:
A4BCC6FE
- Parameters:
dialog (
Dialog) – Dialog containing the latest PTS that can be used to reset the channel statemessages (List of
Message) – The latest messages (not starting from the passed pts, just the latest messages).chats (List of
Chat) – Chats from messagesusers (List of
User) – Users from messagesfinal (
bool, optional) – Whether there are more updates that must be fetched (always set)timeout (
int32-bit, optional) – Clients are supposed to refetch the channel difference after timeout seconds have elapsed
- Functions:
This object can be returned by 1 function.
Returns the difference between the current state of updates of a certain channel and transmitted.