Class: ReplyKeyboardHide

Inherits:
Object
  • Object
show all
Defined in:
lib/telegramObjects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ReplyKeyboardHide

Returns a new instance of ReplyKeyboardHide.



184
185
186
187
188
# File 'lib/telegramObjects.rb', line 184

def initialize json
  return if !json
  @hide_keyboard = json["hide_keyboard"]
  @selective = json["selective"]
end

Instance Attribute Details

#hide_keyboardObject

Returns the value of attribute hide_keyboard.



183
184
185
# File 'lib/telegramObjects.rb', line 183

def hide_keyboard
  @hide_keyboard
end

#selectiveObject

Returns the value of attribute selective.



183
184
185
# File 'lib/telegramObjects.rb', line 183

def selective
  @selective
end