lib/tdlib/client_methods.rb
# Sets the result of a pre-checkout query; for bots only.
#
# @param pre_checkout_query_id [Integer] Identifier of the pre-checkout query.
# @param error_message [TD::Types::String] An error message, empty on success.
# @return [TD::Types::Ok]
Sets the result of a pre-checkout query; for bots only.
Sets the result of a pre - checkout query ; for bots only .
def answer_pre_checkout_query(pre_checkout_query_id:, error_message:)
    broadcast('@type'                 => 'answerPreCheckoutQuery',
              'pre_checkout_query_id' => pre_checkout_query_id,
              'error_message'         => error_message)
  end
def answer_pre_checkout_query ( pre_checkout_query_id : , error_message : ) broadcast ( '@type' => 'answerPreCheckoutQuery' , 'pre_checkout_query_id' => pre_checkout_query_id , 'error_message' => error_message ) end
Sets the result of a pre-checkout query; for bots only.
Sets the result of a pre - checkout query ; for bots only .
None
TD::Types::Ok
pre_checkout_query_id
Identifier of the pre-checkout query.
Identifier of the pre - checkout query .
error_message
An error message, empty on success.
An error message empty on success .