Skip to content

KeyboardButton

class Tourmaline::KeyboardButton
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

.new(text : String, request_contact = false, request_location = false, request_poll = nil) #

Methods#

#request_contact : Bool #

#request_location : Bool #

#request_poll : KeyboardButtonPollType? #

#text : String #