Skip to content

class Tourmaline::InlineKeyboardButton
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

View source

.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) #

View source

Methods#

#callback_data : String? #

View source

#callback_data=(callback_data : String?) #

View source

#callback_game : CallbackGame? #

View source

#callback_game=(callback_game : CallbackGame?) #

View source

#login_url : LoginURL? #

View source

#login_url=(login_url : LoginURL?) #

View source

#pay : Bool? #

View source

#pay=(pay : Bool?) #

View source

#switch_inline_query : String? #

View source

#switch_inline_query=(switch_inline_query : String?) #

View source

#switch_inline_query_current_chat : String? #

View source

#switch_inline_query_current_chat=(switch_inline_query_current_chat : String?) #

View source

#text : String #

View source

#text=(text : String) #

View source

#url=(url : String?) #

View source