delete_participant_reaction()

async Client.delete_participant_reaction()

Remove all reactions of a specific participant from a single message.

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

  • message_id (int) – Identifier of the message.

  • participant_id (int | str) – Unique identifier (int) or username (str) of the participant whose reactions will be removed.

Returns:

Message | bool – On success, the updated message is returned (when available), otherwise True is returned.

Example

# Remove all reactions by a user from a specific message
await app.delete_participant_reaction(chat_id, message_id, participant_id)