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

Constructor Detail

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

[View source]