KeyboardButton
class Tourmaline::KeyboardButton
inherits Reference
#
Included modules#
JSON::Serializable
Tourmaline::Model
Class methods#
.new(pull : JSON::PullParser)
#
(pull : JSON::PullParser)
.new(text : String, request_contact = false, request_location = false, request_poll = nil)
#
(text : String, request_contact = false, request_location = false, request_poll = nil)
Methods#
#request_contact : Bool
#
: Bool
#request_location : Bool
#
: Bool
#request_poll : KeyboardButtonPollType?
#
: KeyboardButtonPollType?
#text : String
#
: String