Button to request a poll from the user
Available only in private chats, in reply keyboards.
When pressed, clients prompt the user to create and send a poll, replying to the message that attached the replyKeyboardMarkup. If quiz is set, the prompt must create a quiz poll.
keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton;
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| style | flags.10?KeyboardButtonStyle | Button style, see here ยป for more info on button styles. |
| quiz | flags.0?Bool | If set, only quiz polls can be sent |
| text | string | Button text |
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.
Represents a reply keyboard
Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.