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.
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_keyboard ⇒ Object
Returns the value of attribute hide_keyboard.
183 184 185 |
# File 'lib/telegramObjects.rb', line 183 def hide_keyboard @hide_keyboard end |
#selective ⇒ Object
Returns the value of attribute selective.
183 184 185 |
# File 'lib/telegramObjects.rb', line 183 def selective @selective end |