GetChannelDifference

class pyrogram.raw.functions.updates.GetChannelDifference

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

Details
  • Layer: 126

  • ID: 0x3173d78

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 – Contains the difference (new messages) between our local channel state and the remote state.