keyboardButtonRequestPoll #
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.¶
Layer 223
keyboardButtonRequestPoll#7a11d782 flags:# style:flags.10?KeyboardButtonStyle quiz:flags.0?Bool text:string = KeyboardButton; Parameters #
| 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 |
Type #
Related pages #
Bot buttons #
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.¶
replyKeyboardMarkup #
Represents a reply keyboard¶
Polls and quizzes #
Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.¶