unsubscribe_events
Cancel a subscription to stop receiving real-time Telegram events for a given subscription ID.
Instructions
Unsubscribe from real-time Telegram events.
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": {
"subscription_id": "<subscription_id>"
},
"name": "unsubscribe_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | The subscription ID returned by subscribe_events. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| subscription_id | No |