delete_participant_reactions()

async Client.delete_participant_reactions()

Remove all reactions of a specific participant from every message in a group or channel.

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

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

Returns:

bool – True on success.

Example

# Remove all reactions by a user in a chat
await app.delete_participant_reactions(chat_id, participant_id)