Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateNewPreCheckoutQuery

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


NameTypeDescription
_"updateNewPreCheckoutQuery"
idstring Unique query identifier
senderUserIdnumber Identifier of the user who sent the query
currencystring Currency for the product price
totalAmountnumber Total price for the product, in the smallest units of the currency
invoicePayloadstring Invoice payload
shippingOptionIdstring Identifier of a shipping option chosen by the user; may be empty if not applicable
orderInfo Information about the order; may be null