class TelegramBot::InlineKeyboardButton
- TelegramBot::InlineKeyboardButton
- Reference
- Object
Defined in:
telegram_bot/types/inline/inline_keyboard_button.crConstant Summary
-
FIELDS =
{text: String, url: {type: String, nilable: true}, callback_data: {type: String, nilable: true}, switch_inline_query: {type: String, nilable: true}}
Constructors
- .new(__temp_71 : 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)
- #to_json(json : JSON::Builder)
- #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)
#