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
chatIdChat identifier of the Invoice message
messageIdMessage identifier
orderInfoThe order information, provided by the user
allowSaveTrue, if the order information can be saved
View on GitHub
Install in Dash
ValidateOrderInfo Structure Reference