Class: GrubY::InlineQuery
- Inherits:
-
BaseObject
- Object
- BaseObject
- GrubY::InlineQuery
- Defined in:
- lib/gruubY/types/bound_entities.rb
Instance Attribute Summary
Attributes inherited from BaseObject
Instance Method Summary collapse
Methods inherited from BaseObject
#[], #dig, field_names, fields, #initialize, #method_missing, #respond_to_missing?, #to_h
Constructor Details
This class inherits a constructor from GrubY::BaseObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GrubY::BaseObject
Instance Method Details
#answer(results, **opts) ⇒ Object
42 43 44 |
# File 'lib/gruubY/types/bound_entities.rb', line 42 def answer(results, **opts) call_api("answerInlineQuery", { inline_query_id: id, results: results }.merge(opts)) end |