MadelineProtoDocs/docs/API_docs/constructors/keyboardButtonRequestPoll.md

38 lines
765 B
Markdown
Raw Normal View History

2020-03-06 12:24:14 +01:00
---
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'}
```