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
chatIdChat identifier of the Invoice message
messageIdMessage identifier
orderInfoIdIdentifier returned by ValidateOrderInfo, or an empty string
shippingOptionIdIdentifier of a chosen shipping option, if applicable
credentialsThe credentials chosen by user for payment
View on GitHub
Install in Dash
SendPaymentForm Structure Reference