Skip to main content

keyboardButtonRequestPoll

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

type tg.KeyboardButtonRequestPoll struct { /* ... */ }

Implements KeyboardButton.

Fields

NameTypeRequiredDescription
StyleKeyboardButtonStyleButton style, see here » for more info on button styles.
QuizboolIf set, only quiz polls can be sent
TextstringyesButton text

References