Class: Telegem::Types::InlineQuery
- Defined in:
- lib/api/types.rb
Instance Attribute Summary
Attributes inherited from BaseType
Instance Method Summary collapse
-
#initialize(data) ⇒ InlineQuery
constructor
A new instance of InlineQuery.
Methods inherited from BaseType
#inspect, #method_missing, #respond_to_missing?, #to_h, #to_s
Constructor Details
#initialize(data) ⇒ InlineQuery
Returns a new instance of InlineQuery.
601 602 603 604 605 |
# File 'lib/api/types.rb', line 601 def initialize(data) super(data) wrap('from', User) wrap('location', Location) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Telegem::Types::BaseType