UpdateNewPreCheckoutQuery constructor

const UpdateNewPreCheckoutQuery({
  1. required int id,
  2. required int senderUserId,
  3. required String currency,
  4. required int totalAmount,
  5. required String invoicePayload,
  6. required String shippingOptionId,
  7. OrderInfo? orderInfo,
  8. dynamic extra,
  9. int? clientId,
})

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

Implementation

const UpdateNewPreCheckoutQuery({
  required this.id,
  required this.senderUserId,
  required this.currency,
  required this.totalAmount,
  required this.invoicePayload,
  required this.shippingOptionId,
  this.orderInfo,
  this.extra,
  this.clientId,
});