class Tourmaline::InlineKeyboardButton
- Tourmaline::InlineKeyboardButton
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/inline/inline_keyboard_button.crConstructors
- .new(pull : JSON::PullParser)
- .new(text : String, url : String | Nil = nil, login_url : LoginURL | Nil = nil, callback_data : String | Nil = nil, web_app : Nil | Tourmaline::WebAppInfo = 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)
- #web_app : WebAppInfo | Nil
- #web_app=(web_app : WebAppInfo | Nil)
Constructor Detail
def self.new(text : String, url : String | Nil = nil, login_url : LoginURL | Nil = nil, callback_data : String | Nil = nil, web_app : Nil | Tourmaline::WebAppInfo = 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)
#