updates.ChannelDifferenceTooLong

class pyrogram.raw.types.updates.ChannelDifferenceTooLong[source]

The passed pts is too old: one or more updates starting from the specified PTS were deleted from the message box of this channel.

Constructor of ChannelDifference.

Details:
  • Layer: 229

  • 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 (not starting from the passed pts, just 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 set)

  • 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.

updates.GetChannelDifference

Returns the difference between the current state of updates of a certain channel and transmitted.