delete_message_reaction()#
- Client.delete_message_reaction()[source]#
Use this method to remove a reaction from a message in a group or a supergroup chat.
Usable by ✅ Users ✅ BotsNote
The bot must have the can_delete_messages administrator right in the chat.
- 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.