Interface GetPaymentForm

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

interface GetPaymentForm {
    @type: "getPaymentForm";
    input_invoice: InputInvoice;
    theme: ThemeParameters;
}

Properties

@type: "getPaymentForm"
input_invoice: InputInvoice

The invoice.

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