Class TdApi.StarTransactionTypeUpgradedGiftPurchase

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

public static class TdApi.StarTransactionTypeUpgradedGiftPurchase extends TdApi.StarTransactionType
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
  • Field Details

    • userId

      public long userId
      Identifier of the user that sold the gift.
    • gift

      public TdApi.UpgradedGift gift
      The gift.
    • CONSTRUCTOR

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

    • StarTransactionTypeUpgradedGiftPurchase

      public StarTransactionTypeUpgradedGiftPurchase()
      The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
    • StarTransactionTypeUpgradedGiftPurchase

      public StarTransactionTypeUpgradedGiftPurchase(long userId, TdApi.UpgradedGift gift)
      The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
      Parameters:
      userId - Identifier of the user that sold the gift.
      gift - The gift.
  • 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