--- title: keyboardButtonRequestPoll description: keyboardButtonRequestPoll attributes, type and example image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: keyboardButtonRequestPoll [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |quiz|[Bool](../types/Bool.md) | Optional| |text|[string](../types/string.md) | Yes| ### Type: [KeyboardButton](../types/KeyboardButton.md) ### Example: ```php $keyboardButtonRequestPoll = ['_' => 'keyboardButtonRequestPoll', 'quiz' => Bool, 'text' => 'string']; ``` Or, if you're into Lua: ```lua keyboardButtonRequestPoll={_='keyboardButtonRequestPoll', quiz=Bool, text='string'} ```