Class: TD::Types::Update::NewBusinessCallbackQuery

Inherits:
TD::Types::Update show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_instanceInteger

An identifier uniquely corresponding to the chat a message was sent to.

Returns:

  • (Integer)

    the current value of chat_instance



10
11
12
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10

def chat_instance
  @chat_instance
end

#connection_idTD::Types::String

Unique identifier of the business connection.

Returns:

  • (TD::Types::String)

    the current value of connection_id



10
11
12
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10

def connection_id
  @connection_id
end

#idInteger

Unique query identifier.

Returns:

  • (Integer)

    the current value of id



10
11
12
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10

def id
  @id
end

#messageTD::Types::BusinessMessage

The message from the business account from which the query originated.

Returns:



10
11
12
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10

def message
  @message
end

#payloadTD::Types::CallbackQueryPayload

Query payload.

Returns:



10
11
12
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10

def payload
  @payload
end

#sender_user_idInteger

Identifier of the user who sent the query.

Returns:

  • (Integer)

    the current value of sender_user_id



10
11
12
# File 'lib/tdlib/types/update/new_business_callback_query.rb', line 10

def sender_user_id
  @sender_user_id
end