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
-
#chat_type ⇒ TD::Types::ChatType?
Contains information about the type of the chat, from which the query originated; may be null if unknown.
-
#id ⇒ Integer
Unique query identifier.
-
#offset ⇒ TD::Types::String
Offset of the first entry to return.
-
#query ⇒ TD::Types::String
Text of the query.
-
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
-
#user_location ⇒ TD::Types::Location?
User location; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_type ⇒ TD::Types::ChatType?
Contains information about the type of the chat, from which the query originated; may be null if unknown.
11 12 13 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 11 def chat_type @chat_type end |
#id ⇒ Integer
Unique query identifier.
11 12 13 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 11 def id @id end |
#offset ⇒ TD::Types::String
Offset of the first entry to return.
11 12 13 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 11 def offset @offset end |
#query ⇒ TD::Types::String
Text of the query.
11 12 13 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 11 def query @query end |
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
11 12 13 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 11 def sender_user_id @sender_user_id end |
#user_location ⇒ TD::Types::Location?
User location; may be null.
11 12 13 |
# File 'lib/tdlib/types/update/new_inline_query.rb', line 11 def user_location @user_location end |