Interface UpdateNewPreCheckoutQuery

A new incoming pre-checkout query; for bots only. Contains full information about a checkout. Subtype of Update.

interface UpdateNewPreCheckoutQuery {
    @type: "updateNewPreCheckoutQuery";
    currency: string;
    id: string;
    invoice_payload: string;
    order_info: OrderInfo;
    sender_user_id: number;
    shipping_option_id: string;
    total_amount: number;
}

Properties

@type: "updateNewPreCheckoutQuery"
currency: string

Currency for the product price.

id: string

Unique query identifier.

invoice_payload: string

Invoice payload.

order_info: OrderInfo

Information about the order; may be null.

sender_user_id: number

Identifier of the user who sent the query.

shipping_option_id: string

Identifier of a shipping option chosen by the user; may be empty if not applicable.

total_amount: number

Total price for the product, in the smallest units of the currency.