Skip to content

class Tourmaline::KeyboardButton
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

View source

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

View source

Methods#

#request_contact : Bool #

View source

#request_contact=(request_contact : Bool) #

View source

#request_location : Bool #

View source

#request_location=(request_location : Bool) #

View source

#request_poll=(request_poll : KeyboardButtonPollType?) #

View source

#text : String #

View source

#text=(text : String) #

View source