class TelegramBot::InlineKeyboardButton
- TelegramBot::InlineKeyboardButton
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/inline/inline_keyboard_button.crConstructors
- .new(pull : JSON::PullParser)
- .new(text : String, *, url : String | Nil = nil, callback_data : String | Nil = nil, switch_inline_query : String | Nil = nil)
Instance Method Summary
- #callback_data : String | Nil
- #callback_data=(callback_data : String | Nil)
- #switch_inline_query : String | Nil
- #switch_inline_query=(switch_inline_query : String | Nil)
- #text : String
- #text=(text : String)
- #url : String | Nil
- #url=(url : String | Nil)
Constructor Detail
def self.new(text : String, *, url : String | Nil = nil, callback_data : String | Nil = nil, switch_inline_query : String | Nil = nil)
#