updates.ChannelDifferenceTooLong#
- class pyrogram.raw.types.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).
Constructor of
ChannelDifference
.- Details:
Layer:
158
ID:
A4BCC6FE
- Parameters:
dialog (
Dialog
) – Dialog containing the latest PTS that can be used to reset the channel state.messages (List of
Message
) – The latest messages.chats (List of
Chat
) – Chats from messages.users (List of
User
) – Users from messages.final (
bool
, optional) – Whether there are more updates that must be fetched (always false).timeout (
int
32-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.