Skip to content

getPaymentForm

Function · TDLib 1.8.67 · d1085f9c

Returns an invoice payment form. This method must be called when the user presses inline button of the type inlineKeyboardButtonTypeBuy, or wants to buy access to media in a messagePaidMedia message

getPaymentForm(
  input_invoice: InputInvoice,
  theme: ThemeParameters
) → PaymentForm

input_invoice

InputInvoice

The invoice

theme

ThemeParameters

Preferred payment form theme; pass null to use the default theme