updates.Difference#

class pyrogram.raw.types.updates.Difference#

Full list of occurred events.

Constructor of Difference.

Details:
  • Layer: 158

  • ID: F49CA0

Parameters:
  • new_messages (List of Message) – List of new messages.

  • new_encrypted_messages (List of EncryptedMessage) – List of new encrypted secret chat messages.

  • other_updates (List of Update) – List of updates.

  • chats (List of Chat) – List of chats mentioned in events.

  • users (List of User) – List of users mentioned in events.

  • state (updates.State) – Current state.

Functions:

This object can be returned by 1 function.

updates.GetDifference

Get new updates.