Function get_payment_form

Source
pub async fn get_payment_form(
    input_invoice: InputInvoice,
    theme: Option<ThemeParameters>,
    client_id: i32,
) -> Result<PaymentForm, Error>
Expand description

Returns an invoice payment form. This method must be called when the user presses inline button of the type inlineKeyboardButtonTypeBuy

ยงArguments

  • input_invoice - The invoice
  • theme - Preferred payment form theme; pass null to use the default theme
  • client_id - The client id to send the request to