Class: TD::Types::Update::NewInlineQuery
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::NewInlineQuery
- Defined in:
- lib/tdlib/types/update/new_inline_query.rb
Overview
A new incoming inline query; for bots only.
Instance Attribute Summary collapse
-
#id ⇒ Integer
Unique query identifier.
-
#offset ⇒ String
Offset of the first entry to return.
-
#query ⇒ String
Text of the query.
-
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
-
#user_location ⇒ TD::Types::Location?
User location, provided by the client; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ Integer
Unique query identifier.
9 10 11 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 9 def id @id end |
#offset ⇒ String
Offset of the first entry to return.
9 10 11 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 9 def offset @offset end |
#query ⇒ String
Text of the query.
9 10 11 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 9 def query @query end |
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
9 10 11 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 9 def sender_user_id @sender_user_id end |
#user_location ⇒ TD::Types::Location?
User location, provided by the client; may be null.
9 10 11 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 9 def user_location @user_location end |