Class TdApi.StarTransactionTypeBotInvoicePurchase

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeBotInvoicePurchase
Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeBotInvoicePurchase extends TdApi.StarTransactionType
The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.
  • Field Details

    • userId

      public long userId
      Identifier of the bot or the business account user that created the invoice.
    • productInfo

      public TdApi.ProductInfo productInfo
      Information about the bought product.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StarTransactionTypeBotInvoicePurchase

      public StarTransactionTypeBotInvoicePurchase()
      The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.
    • StarTransactionTypeBotInvoicePurchase

      public StarTransactionTypeBotInvoicePurchase(long userId, TdApi.ProductInfo productInfo)
      The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.
      Parameters:
      userId - Identifier of the bot or the business account user that created the invoice.
      productInfo - Information about the bought product.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR