MadelineProtoDocs/old_docs/API_docs_v109/constructors/keyboardButtonRequestPoll.md
2020-03-06 12:24:14 +01:00

765 B

title description image
keyboardButtonRequestPoll keyboardButtonRequestPoll attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonRequestPoll

Back to constructors index

Attributes:

Name Type Required
quiz Bool Optional
text string Yes

Type: KeyboardButton

Example:

$keyboardButtonRequestPoll = ['_' => 'keyboardButtonRequestPoll', 'quiz' => Bool, 'text' => 'string'];

Or, if you're into Lua:

keyboardButtonRequestPoll={_='keyboardButtonRequestPoll', quiz=Bool, text='string'}