class TelegramBot::InlineKeyboardButton

Defined in:

telegram_bot/types/inline/inline_keyboard_button.cr

Constant Summary

FIELDS = {text: String, url: {type: String, nilable: true}, callback_data: {type: String, nilable: true}, switch_inline_query: {type: String, nilable: true}}

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(text : String, url : String | Nil = nil, callback_data : String | Nil = nil, switch_inline_query : String | Nil = nil) #

[View source]

Instance Method Detail

def callback_data : String | Nil #

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

[View source]
def switch_inline_query : String | Nil #

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

[View source]
def text : String #

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

[View source]
def to_json(json : JSON::Builder) #

[View source]
def url : String | Nil #

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

[View source]