delete_chat_reactions_by_sender()

Client.delete_chat_reactions_by_sender()

Delete all reactions sent by a certain user in a chat.

Usable by Users Bots

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

  • sender_id (int | str) – Unique identifier (int) or username (str) of the user whose reactions will be deleted.

Returns:

bool – True on success, False otherwise.