class Telegram::Bot::Types::KeyboardButton

Attributes

request_contact[RW]
request_location[RW]
text[RW]

Public Class Methods

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