Skip to content

payments.sendPaymentForm

Layer 225

Constructor ID: 0x2d03522f
Returns: PaymentResult

Parameters

NameTypeDescription
form_idint64
invoiceInputInvoice
requested_info_idstring (flags.0, optional)
shipping_option_idstring (flags.1, optional)
credentialsInputPaymentCredentials
tip_amountint64 (flags.2, optional)

Example

go
result, err := client.Raw(&tg.SendPaymentFormRequest{
    form_id: 0,
    invoice: nil, // InputInvoice
    requested_info_id: "",
    shipping_option_id: "",
    credentials: nil, // InputPaymentCredentials
    tip_amount: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.