keyboardButtonRequestPoll
A button that allows the user to create and send a poll when pressed; available only in private
type tg.KeyboardButtonRequestPoll struct { /* ... */ }
Implements KeyboardButton.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Style | KeyboardButtonStyle | — | Button style, see here » for more info on button styles. |
Quiz | bool | — | If set, only quiz polls can be sent |
Text | string | yes | Button text |
References
- Official documentation
- Generated Go reference
- TL definition:
keyboardButtonRequestPoll#7a11d782