ValidateOrderInfo
public struct ValidateOrderInfo : Codable, Equatable, TDFunction
Validates the order information provided by a user and returns the available shipping options for a flexible invoice
-
Undocumented
Declaration
Swift
public typealias Result = ValidatedOrderInfo
-
Chat identifier of the Invoice message
Declaration
Swift
public let chatId: Int53
-
Message identifier
Declaration
Swift
public let messageId: Int53
-
The order information, provided by the user
Declaration
Swift
public let orderInfo: OrderInfo
-
True, if the order information can be saved
Declaration
Swift
public let allowSave: Bool
-
Validates the order information provided by a user and returns the available shipping options for a flexible invoice
Declaration
Parameters
chatId
Chat identifier of the Invoice message
messageId
Message identifier
orderInfo
The order information, provided by the user
allowSave
True, if the order information can be saved