Class TdApi.StarTransactionTypeGiftUpgrade

Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeGiftUpgrade extends TdApi.StarTransactionType
The transaction is an upgrade of a gift; for regular users only.
  • Field Details

    • userId

      public long userId
      Identifier of the user that initially sent the gift.
    • gift

      public TdApi.UpgradedGift gift
      The upgraded gift.
    • CONSTRUCTOR

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

    • StarTransactionTypeGiftUpgrade

      public StarTransactionTypeGiftUpgrade()
      The transaction is an upgrade of a gift; for regular users only.
    • StarTransactionTypeGiftUpgrade

      public StarTransactionTypeGiftUpgrade(long userId, TdApi.UpgradedGift gift)
      The transaction is an upgrade of a gift; for regular users only.
      Parameters:
      userId - Identifier of the user that initially sent the gift.
      gift - The upgraded 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