Module tdlight.api

Class TdApi.GetPaymentForm

Enclosing class:
TdApi

public static final class TdApi.GetPaymentForm extends TdApi.Function<TdApi.PaymentForm>
Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy. Returns PaymentForm
  • Field Details

  • Constructor Details

    • GetPaymentForm

      public GetPaymentForm()
      Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy. Returns PaymentForm
    • GetPaymentForm

      public GetPaymentForm(TdApi.InputInvoice inputInvoice, TdApi.ThemeParameters theme)
      Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy. Returns PaymentForm
      Parameters:
      inputInvoice - InputInvoice The invoice.
      theme - ThemeParameters Preferred payment form theme; pass null to use the default theme.
    • GetPaymentForm

      public GetPaymentForm(DataInput input) throws IOException
      Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy. Returns PaymentForm
      Throws:
      IOException
  • Method Details