updates.GetChannelDifference#

class pyrogram.raw.functions.updates.GetChannelDifference#

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

Details:
  • Layer: 158

  • ID: 3173D78

Parameters:
  • channel (InputChannel) – The channel.

  • filter (ChannelMessagesFilter) – Messsage filter.

  • pts (int 32-bit) – Persistent timestamp (see updates).

  • limit (int 32-bit) – How many updates to fetch, max 100000Ordinary (non-bot) users are supposed to pass 10-100.

  • force (bool, optional) – Set to true to skip some possibly unneeded updates and reduce server-side load.

Returns:

updates.ChannelDifference