updates.ChannelDifference#

class pyrogram.raw.types.updates.ChannelDifference#

The new updates.

Constructor of ChannelDifference.

Details:
  • Layer: 158

  • ID: 2064674E

Parameters:
  • pts (int 32-bit) – The PTS from which to start getting updates the next time.

  • new_messages (List of Message) – New messages.

  • other_updates (List of Update) – Other updates.

  • chats (List of Chat) – Chats.

  • users (List of User) – Users.

  • final (bool, optional) – Whether there are more updates to be fetched using getDifference, starting from the provided pts.

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