Close an active poll
close_pollClose a Telegram poll to stop accepting new votes. Specify the chat and message ID to finalize the poll immediately.
Instructions
Finalize a poll so no further votes are accepted.
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>"
},
"name": "close_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| accountId | No | ||
| messageId | Yes |