Add Reaction • AI Agent SDK

add_reaction: Add a reaction emoji to a message.

add_reaction

Async

Method

</div>

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

Add a reaction emoji to a message.

Signature

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

Parameters

ParamField str

Channel containing the message

ParamField str

Message to react to

ParamField str

Emoji to add (Unicode or custom emoji ID)

Returns

ResponseField bool

True if reaction was added successfully

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1214