updates.GetDifference

class pyrogram.raw.functions.updates.GetDifference

Get new updates.

Details:
  • Layer: 187

  • ID: 19C2F763

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

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

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

  • pts_limit (int 32-bit, optional) – PTS limit

  • 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

  • qts_limit (int 32-bit, optional) – QTS limit

Returns:

updates.Difference