Class: TD::Types::Update::NewCallbackQuery
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::NewCallbackQuery
- Defined in:
- lib/tdlib/types/update/new_callback_query.rb
Overview
A new incoming callback query; for bots only.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Identifier of the chat where the query was sent.
-
#chat_instance ⇒ Integer
Identifier that uniquely corresponds to the chat to which the message was sent.
-
#id ⇒ Integer
Unique query identifier.
-
#message_id ⇒ Integer
Identifier of the message, 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_id ⇒ Integer
Identifier of the chat where the query was sent.
10 11 12 |
# File 'lib/tdlib/types/update/new_callback_query.rb', line 10 def chat_id @chat_id end |
#chat_instance ⇒ Integer
Identifier that uniquely corresponds to the chat to which the message was sent.
10 11 12 |
# File 'lib/tdlib/types/update/new_callback_query.rb', line 10 def chat_instance @chat_instance end |
#id ⇒ Integer
Unique query identifier.
10 11 12 |
# File 'lib/tdlib/types/update/new_callback_query.rb', line 10 def id @id end |
#message_id ⇒ Integer
Identifier of the message, from which the query originated.
10 11 12 |
# File 'lib/tdlib/types/update/new_callback_query.rb', line 10 def @message_id end |
#payload ⇒ TD::Types::CallbackQueryPayload
Query payload.
10 11 12 |
# File 'lib/tdlib/types/update/new_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_callback_query.rb', line 10 def sender_user_id @sender_user_id end |