A gift bought with stars

Constructors

Properties

isUnique: false = ...

Whether this gift is a unique gift

Accessors

  • get availability(): null | { remains: number; resale: Long; total: number }
  • For limited availability gifts, the number of remaining and total gifts available

    Returns null | { remains: number; resale: Long; total: number }

    • null
    • { remains: number; resale: Long; total: number }
      • remains: number
      • resale: Long

        Number of gifts available on the secondary market

      • total: number
  • get convertStars(): Long
  • Amount of stars the gift can be converted to by the recipient

    Returns Long

  • get id(): Long
  • ID of the gift

    Returns Long

  • get isLimited(): boolean
  • Whether this gift has limited availability

    Returns boolean

  • get isSoldOut(): boolean
  • Whether this gift sold out and cannot be bought anymore

    Returns boolean

  • get purchaseStars(): Long
  • Amount of stars the gift was purchased for

    Returns Long

  • get resaleFloorPrice(): null | Long
  • Floor price for the gift on the secondary market

    Returns null | Long

  • get soldOutInfo(): null | { firstSale: Date; lastSale: Date }
  • Additional information for sold-out gifts

    Returns null | { firstSale: Date; lastSale: Date }

    • null
    • { firstSale: Date; lastSale: Date }
      • firstSale: Date

        Date when the first gift was bought

      • lastSale: Date

        Date when the last gift was bought

  • get sticker(): Sticker
  • Sticker associated with the gift

    Returns Sticker

  • get title(): null | string
  • Title of the gift

    Returns null | string

  • get upgradeStars(): null | Long
  • Amount of stars the gift can be upgraded for

    Returns null | Long