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