Skip to content

KeyboardButtonPollType

class Tourmaline::KeyboardButtonPollType
inherits Reference #

This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

.new(type) #

Methods#

#type : Poll::Type #