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 Summary

      Fields 
      Modifier and Type Field Description
      long chatId
      Chat identifier of the Invoice message.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      long messageId
      Message identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetPaymentForm()
      Default constructor.
      GetPaymentForm​(long chatId, long messageId)
      Constructor for initialization of all fields.
    • Field Detail

      • chatId

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

        public long messageId
        Message identifier.
      • 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.
      • GetPaymentForm

        public GetPaymentForm​(long chatId,
                              long messageId)
        Constructor for initialization of all fields.
        Parameters:
        chatId - Chat identifier of the Invoice message.
        messageId - Message identifier.