class TelegramBot::Models::InlineKeyboardButton
Overview
https://core.telegram.org/bots/api#inlinekeyboardbutton
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#inlinekeyboardbutton
- .new(text : String, url : String | Nil = nil, login_url : LoginUrl | Nil = nil, callback_data : String | Nil = nil, switch_inline_query : String | Nil = nil, switch_inline_query_current_chat : String | Nil = nil, callback_game : CallbackGame | Nil = nil, pay : Bool | Nil = nil)
Instance Method Summary
- #callback_data : String | Nil
- #callback_data=(callback_data : String | Nil)
- #callback_game : CallbackGame | Nil
- #callback_game=(callback_game : CallbackGame | Nil)
- #login_url : LoginUrl | Nil
- #login_url=(login_url : LoginUrl | Nil)
- #pay : Bool | Nil
- #pay=(pay : Bool | Nil)
- #switch_inline_query : String | Nil
- #switch_inline_query=(switch_inline_query : String | Nil)
- #switch_inline_query_current_chat : String | Nil
- #switch_inline_query_current_chat=(switch_inline_query_current_chat : String | Nil)
- #text : String
- #text=(text : String)
- #url : String | Nil
- #url=(url : String | Nil)
Constructor methods inherited from class TelegramBot::Models::Base
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(text : String, url : String | Nil = nil, login_url : LoginUrl | Nil = nil, callback_data : String | Nil = nil, switch_inline_query : String | Nil = nil, switch_inline_query_current_chat : String | Nil = nil, callback_game : CallbackGame | Nil = nil, pay : Bool | Nil = nil)
#
Instance Method Detail
def switch_inline_query_current_chat=(switch_inline_query_current_chat : String | Nil)
#