messages.ReadHistory#

class pyrogram.raw.functions.messages.ReadHistory#

Marks message history as read.

Details:
  • Layer: 158

  • ID: E306D3A

Parameters:
  • peer (InputPeer) – Target user or group.

  • max_id (int 32-bit) – If a positive value is passed, only messages with identifiers less or equal than the given one will be read.

Returns:

messages.AffectedMessages