answer_shipping_query()

Client.answer_shipping_query()

Reply to shipping queries.

Usable by Users Bots

Parameters:
  • shipping_query_id (str) – Unique identifier for the query to be answered.

  • ok (bool) – Specify True if everything is alright.

  • shipping_options (List of ShippingOptions, optional) – Required if ok is True.

  • error_message (str, optional) – Required if ok is False.

Returns:

bool – True, on success.