class TelegramBot::KeyboardButton
- TelegramBot::KeyboardButton
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/reply_keyboard_markup.crConstructors
- .new(pull : JSON::PullParser)
- .new(text : String, *, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil)
Instance Method Summary
- #request_contact=(request_contact : Bool | Nil)
- #request_contact? : Bool | Nil
- #request_location=(request_location : Bool | Nil)
- #request_location? : Bool | Nil
- #text : String
- #text=(text : String)
Constructor Detail
def self.new(text : String, *, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil)
#