remove_message_reaction()

Client.remove_message_reaction()

Remove a specific reaction from a message by a particular user.

Admins can remove individual reactions on messages within their chats.

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 from which the reaction should be removed.

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

Returns:

List of Message – On success, a list of service messages describing the changes is returned.

Example

await app.remove_message_reaction(chat_id="mychat", message_id=1, sender_id=123456789)