mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
925 B
925 B
title | description | nav_exclude | image |
---|---|---|---|
keyboardButtonRequestPoll | A button that allows the user to create and send a poll when pressed; available only in private | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: keyboardButtonRequestPoll
A button that allows the user to create and send a poll when pressed; available only in private
Attributes:
Name | Type | Required | Description |
---|---|---|---|
quiz | Bool | Optional | If set, only quiz polls can be sent |
text | string | Yes | Button text |
Type: KeyboardButton
Example:
$keyboardButtonRequestPoll = ['_' => 'keyboardButtonRequestPoll', 'quiz' => Bool, 'text' => 'string'];