class Tourmaline::KeyboardButton
- Tourmaline::KeyboardButton
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/reply_keyboard_markup.crConstructors
- .new(pull : JSON::PullParser)
- .new(text : String, request_contact : Bool = false, request_location : Bool = false, request_poll : Nil | Tourmaline::KeyboardButtonPollType = nil)
Instance Method Summary
- #request_contact : Bool
- #request_location : Bool
- #request_poll : KeyboardButtonPollType | Nil
- #text : String
Constructor Detail
def self.new(text : String, request_contact : Bool = false, request_location : Bool = false, request_poll : Nil | Tourmaline::KeyboardButtonPollType = nil)
#