Skip to content

InlineKeyboardButton

class Tourmaline::InlineKeyboardButton
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

.new(text : String, url : String? = nil, login_url : LoginURL? = nil, callback_data : String? = nil, switch_inline_query : String? = nil, switch_inline_query_current_chat : String? = nil, callback_game : CallbackGame? = nil, pay : Bool? = nil) #

Methods#

#callback_data : String? #

#callback_data=(callback_data : String?) #

#callback_game : CallbackGame? #

#callback_game=(callback_game : CallbackGame?) #

#login_url : LoginURL? #

#login_url=(login_url : LoginURL?) #

#pay : Bool? #

#pay=(pay : Bool?) #

#switch_inline_query : String? #

#switch_inline_query=(switch_inline_query : String?) #

#switch_inline_query_current_chat : String? #

#switch_inline_query_current_chat=(switch_inline_query_current_chat : String?) #

#text : String #

#text=(text : String) #

#url : String? #

#url=(url : String?) #