Class: ForceReply
- Inherits:
-
Object
- Object
- ForceReply
- Defined in:
- lib/telegramObjects.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(json) ⇒ ForceReply
constructor
A new instance of ForceReply.
Constructor Details
#initialize(json) ⇒ ForceReply
Returns a new instance of ForceReply.
193 194 195 196 197 |
# File 'lib/telegramObjects.rb', line 193 def initialize json return if !json @force_reply = json["force_reply"] @selective = json["selective"] end |
Instance Attribute Details
#force_reply ⇒ Object
Returns the value of attribute force_reply.
192 193 194 |
# File 'lib/telegramObjects.rb', line 192 def force_reply @force_reply end |
#selective ⇒ Object
Returns the value of attribute selective.
192 193 194 |
# File 'lib/telegramObjects.rb', line 192 def selective @selective end |