pub async fn send_payment_form(
input_invoice: InputInvoice,
payment_form_id: i64,
order_info_id: String,
shipping_option_id: String,
credentials: InputCredentials,
tip_amount: i64,
client_id: i32,
) -> Result<PaymentResult, Error>Expand description
Sends a filled-out payment form to the bot for final verification
ยงArguments
input_invoice- The invoicepayment_form_id- Payment form identifier returned by getPaymentFormorder_info_id- Identifier returned by validateOrderInfo, or an empty stringshipping_option_id- Identifier of a chosen shipping option, if applicablecredentials- The credentials chosen by user for paymenttip_amount- Chosen by the user amount of tip in the smallest units of the currencyclient_id- The client id to send the request to