Class TdApi.GetPaymentForm

Enclosing class:
TdApi

public static class TdApi.GetPaymentForm
extends TdApi.Function
Returns an invoice payment form. This method should 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.PaymentFormTheme theme
      Preferred payment form theme.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GetPaymentForm

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

      Returns PaymentForm

    • GetPaymentForm

      public GetPaymentForm​(long chatId, long messageId, TdApi.PaymentFormTheme theme)
      Returns an invoice payment form. This method should be called when the user presses inlineKeyboardButtonBuy.

      Returns PaymentForm

      Parameters:
      chatId - long Chat identifier of the Invoice message.
      messageId - long Message identifier.
      theme - PaymentFormTheme Preferred payment form theme.
    • GetPaymentForm

      public GetPaymentForm​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details