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
async def add_reaction(channel_id: str, message_id: str, emoji: str) -> boolParameters
ParamField
strChannel containing the message
ParamField
strMessage to react to
ParamField
strEmoji to add (Unicode or custom emoji ID)
Returns
ResponseField
boolTrue if reaction was added successfully
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1214