SendPaymentForm
public struct SendPaymentForm : Codable, Equatable, TDFunction
Sends a filled-out payment form to the bot for final verification
-
Undocumented
Declaration
Swift
public typealias Result = PaymentResult
-
Chat identifier of the Invoice message
Declaration
Swift
public let chatId: Int53
-
Message identifier
Declaration
Swift
public let messageId: Int53
-
Identifier returned by ValidateOrderInfo, or an empty string
Declaration
Swift
public let orderInfoId: String
-
Identifier of a chosen shipping option, if applicable
Declaration
Swift
public let shippingOptionId: String
-
The credentials chosen by user for payment
Declaration
Swift
public let credentials: InputCredentials
-
Sends a filled-out payment form to the bot for final verification
Declaration
Swift
public init(chatId: Int53, messageId: Int53, orderInfoId: String, shippingOptionId: String, credentials: InputCredentials)
Parameters
chatId
Chat identifier of the Invoice message
messageId
Message identifier
orderInfoId
Identifier returned by ValidateOrderInfo, or an empty string
shippingOptionId
Identifier of a chosen shipping option, if applicable
credentials
The credentials chosen by user for payment