React to a message
send_reactionSet a single-emoji reaction on an allowed Telegram message while enforcing chat scope, anti-ban quotas, and optional human confirmation; invalid targets are rejected.
Instructions
Set a single-emoji reaction on one in-scope message. The chat must be inside this endpoint’s allow-list; out-of-scope targets are rejected. Subject to the per-endpoint anti-ban quota and, when enabled, human confirmation. The emoji must be a single emoji; an emoji Telegram does not allow for the chat is rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"peer": "<peer>",
"messageId": "<messageId>",
"emoji": "<emoji>"
},
"name": "send_reaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Chat reference: { kind:'id', value:'<decimal id>' } | { kind:'username', value:'@name' } | { kind:'me' }. | |
| emoji | Yes | A single emoji to react with (one grapheme cluster). | |
| messageId | Yes | A positive per-chat message id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | Yes | The single emoji that was set (echoed). | |
| chat_id | Yes | Chat the reaction was sent to. | |
| message_id | Yes | Id of the message reacted to. |