Class: ReplyKeyboardHide
- Inherits:
-
Object
- Object
- ReplyKeyboardHide
- Defined in:
- lib/telegramObjects.rb
Instance Attribute Summary collapse
-
#hide_keyboard ⇒ Object
Returns the value of attribute hide_keyboard.
-
#selective ⇒ Object
Returns the value of attribute selective.
Instance Method Summary collapse
-
#initialize(json) ⇒ ReplyKeyboardHide
constructor
A new instance of ReplyKeyboardHide.
Constructor Details
#initialize(json) ⇒ ReplyKeyboardHide
Returns a new instance of ReplyKeyboardHide.
189 190 191 192 193 |
# File 'lib/telegramObjects.rb', line 189 def initialize json return if !json @hide_keyboard = json["hide_keyboard"] @selective = json["selective"] end |
Instance Attribute Details
#hide_keyboard ⇒ Object
Returns the value of attribute hide_keyboard.
188 189 190 |
# File 'lib/telegramObjects.rb', line 188 def hide_keyboard @hide_keyboard end |
#selective ⇒ Object
Returns the value of attribute selective.
188 189 190 |
# File 'lib/telegramObjects.rb', line 188 def selective @selective end |