Reactions
Reactions
Section titled “Reactions”Agent 可以使用 message 工具的 react 動作,在訊息上新增及移除 emoji 反應。反應行為會因頻道而異。
{ "action": "react", "messageId": "msg-123", "emoji": "thumbsup"}- 新增反應時需要
emoji。 - 將
emoji設為空字串 ("") 以移除 bot 的反應。 - 設定
remove: true以移除特定的 emoji (需要非空的emoji)。
Discord 和 Slack
- 空的
emoji會移除該訊息上 bot 的所有反應。 remove: true僅移除指定的 emoji。
Google Chat
- 空的
emoji會移除應用程式在訊息上的反應。 -remove: true僅移除指定的表情符號。
Telegram
- 空的
emoji會移除機器人的反應。 -remove: true也會移除反應,但為了工具驗證,仍需要非空的emoji。
- 空的
emoji會移除機器人反應。 -remove: true在內部映射為空的表情符號(在工具呼叫中仍需要emoji)。
Zalo 個人版 (zalouser)
- 需要非空的
emoji。 -remove: true會移除該特定的 emoji 反應。
Signal
- 傳入的反應通知由
channels.signal.reactionNotifications控制:"off"會停用它們,"own"(預設)會在使用者對機器人訊息做出反應時發出事件,而"all"則會為所有反應發出事件。
每個頻道的 reactionLevel 設定控制代理程式使用回應的廣泛程度。數值通常是 off、ack、minimal 或 extensive。
- Telegram reactionLevel —
channels.telegram.reactionLevel - WhatsApp reactionLevel —
channels.whatsapp.reactionLevel
在個別頻道上設定 reactionLevel,以調整代理在各個平台上對訊息做出反應的頻率。
- Agent Send — 包含
react的message工具 - Channels — 特定通道的配置