updates.GetDifference#

class pyrogram.raw.functions.updates.GetDifference#

Get new updates.

Details:
  • Layer: 158

  • ID: 25939651

Parameters:
  • pts (int 32-bit) – PTS, see updates.

  • date (int 32-bit) – date, see updates.

  • qts (int 32-bit) – QTS, see updates.

  • pts_total_limit (int 32-bit, optional) – For fast updating: if provided and pts + pts_total_limit < remote pts, updates.differenceTooLong will be returned.Simply tells the server to not return the difference if it is bigger than pts_total_limitIf the remote pts is too big (> ~4000000), this field will default to 1000000.

Returns:

updates.Difference