read_reactions()

Client.read_reactions()

Mark a reaction in the chat as read.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).

  • topic_id (int, optional) – Mark as read only reactions to messages within the specified forum topic. By default, no topic is applied and all reactions marked as read.

Returns:

bool - On success, True is returned.

Example

# Mark the chat reaction as read
await app.read_reactions(chat_id)

# Mark the chat reaction as read in specified topic
await app.read_reactions(chat_id, topic_id)