lib/tdlib/client_methods.rb
def answer_shipping_query(shipping_query_id:, shipping_options:, error_message:)
    broadcast('@type'             => 'answerShippingQuery',
              'shipping_query_id' => shipping_query_id,
              'shipping_options'  => shipping_options,
              'error_message'     => error_message)
  end
# Sets the result of a shipping query; for bots only.
#
# @param shipping_query_id [Integer] Identifier of the shipping query.
# @param shipping_options [Array<TD::Types::ShippingOption>] Available shipping options.
# @param error_message [TD::Types::String] An error message, empty on success.
# @return [TD::Types::Ok]
Sets the result of a shipping query; for bots only.
Sets the result of a shipping query ; for bots only .
def answer_shipping_query(shipping_query_id:, shipping_options:, error_message:)
    broadcast('@type'             => 'answerShippingQuery',
              'shipping_query_id' => shipping_query_id,
              'shipping_options'  => shipping_options,
              'error_message'     => error_message)
  end
def answer_shipping_query ( shipping_query_id : , shipping_options : , error_message : ) broadcast ( '@type' => 'answerShippingQuery' , 'shipping_query_id' => shipping_query_id , 'shipping_options' => shipping_options , 'error_message' => error_message ) end
Sets the result of a shipping query; for bots only.
Sets the result of a shipping query ; for bots only .
None
TD::Types::Ok
shipping_query_id
Identifier of the shipping query.
Identifier of the shipping query .
shipping_options
Available shipping options.
Available shipping options .
error_message
An error message, empty on success.
An error message empty on success .