stop_poll
Stop a poll and mark it as closed. Requires the message ID; optionally target a specific chat or add inline keyboard markup.
Instructions
Stop a poll and mark it as closed. If chat_id is omitted, targets the default log group.
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": {
"message_id": "<message_id>"
},
"name": "stop_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| message_id | Yes | ID of the poll message to stop | |
| reply_markup | No | JSON string with inline keyboard markup |