Class: Telegram::Bot::Types::ReplyKeyboardRemove
- Inherits:
-
Object
- Object
- Telegram::Bot::Types::ReplyKeyboardRemove
- Defined in:
- lib/telegram/bot/types/reply_keyboard_remove.rb
Instance Attribute Summary collapse
-
#remove_keyboard ⇒ Object
Returns the value of attribute remove_keyboard.
-
#selective ⇒ Object
Returns the value of attribute selective.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ ReplyKeyboardRemove
constructor
A new instance of ReplyKeyboardRemove.
Constructor Details
#initialize(attributes) ⇒ ReplyKeyboardRemove
Returns a new instance of ReplyKeyboardRemove.
5 6 7 |
# File 'lib/telegram/bot/types/reply_keyboard_remove.rb', line 5 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end |
Instance Attribute Details
#remove_keyboard ⇒ Object
Returns the value of attribute remove_keyboard.
3 4 5 |
# File 'lib/telegram/bot/types/reply_keyboard_remove.rb', line 3 def remove_keyboard @remove_keyboard end |
#selective ⇒ Object
Returns the value of attribute selective.
3 4 5 |
# File 'lib/telegram/bot/types/reply_keyboard_remove.rb', line 3 def selective @selective end |