delete_message_reaction()¶
- async Client.delete_message_reaction()¶
Use this method to remove a reaction from a message in a group or a supergroup chat.
Note
The bot must have the can_delete_messages administrator right in the chat.
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 target message.user_id (
int|str, optional) – Unique identifier (int) or username (str) of the user whose reaction will be removed, if the reaction were added by a user.actor_chat_id (
int|str, optional) – Unique identifier (int) or username (str) of the chat whose reaction will be removed, if the reaction were added by a chat.
- Returns:
bool– True on success, False otherwise.