send_poll
Create and send polls to Telegram chats with support for regular and quiz types, multiple answers, and scheduling. Customize options, anonymity, and formatting to engage your audience.
Instructions
Send a poll to a Telegram chat. If chat_id is omitted, sends to the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Poll type (default: regular) | |
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| options | Yes | JSON array of InputPollOption objects (2-10 items) | |
| question | Yes | Poll question (up to 300 chars) | |
| is_closed | No | Create poll in closed state | |
| close_date | No | Unix timestamp when poll will be auto-closed | |
| explanation | No | Explanation shown after answering (quiz mode, up to 200 chars) | |
| open_period | No | Auto-close after N seconds (5-600) | |
| is_anonymous | No | Anonymous poll (default: true) | |
| reply_markup | No | JSON string with reply markup | |
| protect_content | No | Protect message from forwarding/saving | |
| reply_parameters | No | JSON object with ReplyParameters (e.g. {"message_id": 123}) | |
| correct_option_id | No | 0-based index of the correct answer (quiz mode only) | |
| message_thread_id | No | Topic/thread ID for supergroups with topics enabled | |
| question_entities | No | JSON array of MessageEntity objects for the question | |
| question_parse_mode | No | Question formatting mode | |
| disable_notification | No | Send silently without notification | |
| explanation_entities | No | JSON array of MessageEntity for explanation | |
| explanation_parse_mode | No | Explanation formatting mode | |
| allows_multiple_answers | No | Allow multiple answers (regular polls only) |