class Telegram::Bot::Types::InlineKeyboardButton

Attributes

callback_data[RW]
callback_game[RW]
pay[RW]
switch_inline_query[RW]
switch_inline_query_current_chat[RW]
text[RW]
url[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/telegram/bot/types/inline_keyboard_button.rb, line 11
def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Public Instance Methods

callback_game=(attributes) click to toggle source
# File lib/telegram/bot/types/inline_keyboard_button.rb, line 15
def callback_game=(attributes)
  @callback_game = CallbackGame.new(attributes)
end