keyboardButtonRequestPoll

A button that allows the user to create and send a poll when pressed; available only in private

keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
style flags.10?KeyboardButtonStyle Button style, see here ยป for more info on button styles.
quiz flags.0?Bool If set, only quiz polls can be sent
text string Button text

Type

KeyboardButton

Related pages

Buttons

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