send_poll
Create and send interactive polls to Telegram channels with customizable questions, multiple options, and anonymous voting settings for gathering feedback and engagement.
Instructions
Create and send a poll to the Telegram channel
Input Schema
Name | Required | Description | Default |
---|---|---|---|
is_anonymous | No | Whether the poll is anonymous | |
options | Yes | Poll options (2-10 items) | |
question | Yes | Poll question | |
type | No | Poll type | regular |
Input Schema (JSON Schema)
{
"properties": {
"is_anonymous": {
"default": true,
"description": "Whether the poll is anonymous",
"type": "boolean"
},
"options": {
"description": "Poll options (2-10 items)",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 2,
"type": "array"
},
"question": {
"description": "Poll question",
"type": "string"
},
"type": {
"default": "regular",
"description": "Poll type",
"enum": [
"quiz",
"regular"
],
"type": "string"
}
},
"required": [
"question",
"options"
],
"type": "object"
}