Skip to content

UpdateNewPreCheckoutQuery

Update · TDLib 1.8.67 · d1085f9c

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

UpdateNewPreCheckoutQuery(
  id: int64,
  sender_user_id: int53,
  currency: string,
  total_amount: int53,
  invoice_payload: bytes,
  shipping_option_id: string,
  order_info: OrderInfo
) → Update

id

int64

Unique query identifier

sender_user_id

int53

Identifier of the user who sent the query

currency

string

Currency for the product price

total_amount

int53

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

invoice_payload

bytes

Invoice payload

shipping_option_id

string

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

order_info

OrderInfo

Information about the order; may be null