ChannelDifference

class pyrogram.raw.types.updates.ChannelDifference

The new updates.

Constructor type of ChannelDifference.

Details
  • Layer: 126

  • ID: 0x2064674e

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.

Methods

This object can be returned by 1 method:

updates.GetChannelDifference

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