MadelineProtoDocs/docs/API_docs/constructors/keyboardButtonRequestPoll.md

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'}