Class TdApi.GetPaymentForm

  • Enclosing class:
    TdApi

    public static class TdApi.GetPaymentForm
    extends TdApi.Function
    Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.

    Returns PaymentForm

    • Field Detail

      • 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; pass null to use the default theme.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetPaymentForm

        public GetPaymentForm()
        Default constructor for a function, which 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.PaymentFormTheme theme)
        Creates a function, which returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.

        Returns PaymentForm

        Parameters:
        chatId - Chat identifier of the Invoice message.
        messageId - Message identifier.
        theme - Preferred payment form theme; pass null to use the default theme.