ReadHistory

class pyrogram.raw.functions.messages.ReadHistory

Marks message history as read.

Details
  • Layer: 126

  • ID: 0xe306d3a

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 – Messages affected by changes.