class Tourmaline::InlineKeyboardButton

Included Modules

Defined in:

tourmaline/models/inline/inline_keyboard_button.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def callback_data : String | Nil #

[View source]
def callback_data=(callback_data : String | Nil) #

[View source]
def callback_game : CallbackGame | Nil #

[View source]
def callback_game=(callback_game : CallbackGame | Nil) #

[View source]
def login_url : LoginURL | Nil #

[View source]
def login_url=(login_url : LoginURL | Nil) #

[View source]
def pay : Bool | Nil #

[View source]
def pay=(pay : Bool | Nil) #

[View source]
def switch_inline_query : String | Nil #

[View source]
def switch_inline_query=(switch_inline_query : String | Nil) #

[View source]
def switch_inline_query_current_chat : String | Nil #

[View source]
def switch_inline_query_current_chat=(switch_inline_query_current_chat : String | Nil) #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def url : String | Nil #

[View source]
def url=(url : String | Nil) #

[View source]
def web_app : WebAppInfo | Nil #

[View source]
def web_app=(web_app : WebAppInfo | Nil) #

[View source]