Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 527 Bytes

KeyboardButtonPollType.md

File metadata and controls

18 lines (12 loc) · 527 Bytes

TelegramBotOpenapi::KeyboardButtonPollType

Properties

Name Type Description Notes
type String Optional. If quiz is passed, the user will be allowed to create only polls in the quiz mode. If regular is passed, only regular polls will be allowed. Otherwise, the user will be allowed to create a poll of any type. [optional]

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::KeyboardButtonPollType.new(
  type: null
)