Vote in a poll
vote_pollCast your vote in a Telegram poll using option indexes. Specify the chat, message, and chosen indexes to submit your selection.
Instructions
Cast a vote on a poll by the index(es) of the chosen options.
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>",
"answerIndexes": "<answerIndexes>"
},
"name": "vote_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| accountId | No | ||
| messageId | Yes | ||
| answerIndexes | Yes |