Skip to content

validateOrderInfo

Function · TDLib 1.8.67 · d1085f9c

Validates the order information provided by a user and returns the available shipping options for a flexible invoice

validateOrderInfo(
  input_invoice: InputInvoice,
  order_info: OrderInfo,
  allow_save: Bool
) → ValidatedOrderInfo

input_invoice

InputInvoice

The invoice

order_info

OrderInfo

The order information, provided by the user; pass null if empty

allow_save

Bool

Pass true to save the order information