Class TdApi.StarTransactionTypeGiftUpgradePurchase

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

public static class TdApi.StarTransactionTypeGiftUpgradePurchase extends TdApi.StarTransactionType
The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.
  • Field Details

  • Constructor Details

    • StarTransactionTypeGiftUpgradePurchase

      public StarTransactionTypeGiftUpgradePurchase()
      The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.
    • StarTransactionTypeGiftUpgradePurchase

      public StarTransactionTypeGiftUpgradePurchase(TdApi.MessageSender ownerId, TdApi.Gift gift)
      The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.
      Parameters:
      ownerId - Owner of the upgraded 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