Class: TD::Types::Update::NewCustomQuery
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::NewCustomQuery
- Defined in:
- lib/tdlib/types/update/new_custom_query.rb
Overview
A new incoming query; for bots only.
Instance Attribute Summary collapse
-
#data ⇒ TD::Types::String
JSON-serialized query data.
-
#id ⇒ Integer
The query identifier.
-
#timeout ⇒ Integer
Query timeout.
Method Summary
Methods inherited from Base
Instance Attribute Details
#data ⇒ TD::Types::String
JSON-serialized query data.
7 8 9 |
# File 'lib/tdlib/types/update/new_custom_query.rb', line 7 def data @data end |
#id ⇒ Integer
The query identifier.
7 8 9 |
# File 'lib/tdlib/types/update/new_custom_query.rb', line 7 def id @id end |
#timeout ⇒ Integer
Query timeout.
7 8 9 |
# File 'lib/tdlib/types/update/new_custom_query.rb', line 7 def timeout @timeout end |