answer_shipping_query

Function answer_shipping_query 

Source
pub async fn answer_shipping_query(
    shipping_query_id: i64,
    shipping_options: Vec<ShippingOption>,
    error_message: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

Sets the result of a shipping query; for bots only

ยงArguments

  • shipping_query_id - Identifier of the shipping query
  • shipping_options - Available shipping options
  • error_message - An error message, empty on success
  • client_id - The client id to send the request to