keyboardButtonRequestPoll #

Button to request a poll from the user

Available only in private chats, in reply keyboards.

When pressed, clients prompt the user to create and send a poll, replying to the message that attached the replyKeyboardMarkup. If quiz is set, the prompt must create a quiz poll.

Layer 223

keyboardButtonRequestPoll#7a11d782 flags:# style:flags.10?KeyboardButtonStyle quiz:flags.0?Bool text:string = KeyboardButton;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
styleflags.10?KeyboardButtonStyleButton style, see here » for more info on button styles.
quizflags.0?BoolIf set, only quiz polls can be sent
textstringButton text

Type #

KeyboardButton

Bot buttons #

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.

replyKeyboardMarkup #

Represents a reply keyboard

Polls and quizzes #

Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.