class Tourmaline::InlineKeyboardButton
- Tourmaline::InlineKeyboardButton
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
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)
Instance methods inherited from module Tourmaline::Model
client : Tourmaline::Client
client,
client=(client : Tourmaline::Client)
client=,
client? : Tourmaline::Client | Nil
client?,
finish_init(client : Tourmaline::Client)
finish_init
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)
#