Interface AnswerShippingQuery

Sets the result of a shipping query; for bots only. Request type for Tdjson#answerShippingQuery.

interface AnswerShippingQuery {
    @type: "answerShippingQuery";
    error_message: string;
    shipping_options: ShippingOption[];
    shipping_query_id: string;
}

Properties

@type: "answerShippingQuery"
error_message: string

An error message, empty on success.

shipping_options: ShippingOption[]

Available shipping options.

shipping_query_id: string

Identifier of the shipping query.