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

    • chatId

      public long chatId
      Chat identifier of the Invoice message.
    • messageId

      public long messageId
      Message identifier.
    • theme

      public TdApi.ThemeParameters theme
      Preferred payment form theme; pass null to use the default theme.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • 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(long chatId, long messageId, TdApi.ThemeParameters theme)
      Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy. Returns PaymentForm
      Parameters:
      chatId - long Chat identifier of the Invoice message.
      messageId - long Message identifier.
      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