Remove Reaction • AI Agent SDK

remove_reaction: Remove a reaction emoji from a message.

remove_reaction

Async

Method

</div>

This is a method of the BotProtocol class in the protocols module.

Remove a reaction emoji from a message.

Signature

python
async def remove_reaction(channel_id: str, message_id: str, emoji: str) -> bool

Parameters

ParamField str

Channel containing the message

ParamField str

Message to remove reaction from

ParamField str

Emoji to remove

Returns

ResponseField bool

True if reaction was removed successfully

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1227