Class: TD::Types::Update::NewBusinessCallbackQuery
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::NewBusinessCallbackQuery
- Defined in:
- lib/tdlib/types/update/new_business_callback_query.rb
Overview
A new incoming callback query from a business message; for bots only.
Instance Attribute Summary collapse
-
#chat_instance ⇒ Integer
An identifier uniquely corresponding to the chat a message was sent to.
-
#connection_id ⇒ TD::Types::String
Unique identifier of the business connection.
-
#id ⇒ Integer
Unique query identifier.
-
#message ⇒ TD::Types::BusinessMessage
The message from the business account from which the query originated.
-
#payload ⇒ TD::Types::CallbackQueryPayload
Query payload.
-
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_instance ⇒ Integer
An identifier uniquely corresponding to the chat a message was sent to.
10 11 12 |
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10 def chat_instance @chat_instance end |
#connection_id ⇒ TD::Types::String
Unique identifier of the business connection.
10 11 12 |
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10 def connection_id @connection_id end |
#id ⇒ Integer
Unique query identifier.
10 11 12 |
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10 def id @id end |
#message ⇒ TD::Types::BusinessMessage
The message from the business account from which the query originated.
10 11 12 |
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10 def @message end |
#payload ⇒ TD::Types::CallbackQueryPayload
Query payload.
10 11 12 |
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10 def payload @payload end |
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
10 11 12 |
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10 def sender_user_id @sender_user_id end |