read_discussion()

async Client.read_discussion()

Mark a discussion (comment thread) as read.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the channel.

  • message_id (int) – The message ID that started the discussion.

  • read_max_id (int) – The maximum message ID to mark as read in the discussion.

Returns:

bool – True on success.

Example

await app.read_discussion(chat_id, message_id, read_max_id=50)