send_poll
Send interactive polls or quizzes to Telegram chats. Configure anonymous voting, multiple correct answers, and quiz mode.
Instructions
Send a poll or quiz. Supports v9.6 features: revoting, shuffle, user-added options, descriptions, multiple correct answers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| chat_id | Yes | Chat ID or @username | |
| options | No | ||
| question | Yes | ||
| effect_id | No | ||
| close_date | No | ||
| description | No | ||
| explanation | No | ||
| open_period | No | ||
| is_anonymous | No | ||
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| allows_revoting | No | ||
| protect_content | No | ||
| shuffle_options | No | ||
| reply_parameters | No | ReplyParameters object | |
| message_thread_id | No | ||
| question_entities | No | Array of MessageEntity objects | |
| correct_option_ids | No | ||
| question_parse_mode | No | Formatting mode | |
| allow_adding_options | No | ||
| allow_paid_broadcast | No | ||
| description_entities | No | Array of MessageEntity objects | |
| disable_notification | No | ||
| explanation_entities | No | Array of MessageEntity objects | |
| business_connection_id | No | ||
| description_parse_mode | No | Formatting mode | |
| explanation_parse_mode | No | Formatting mode | |
| allows_multiple_answers | No | ||
| hide_results_until_closes | No |