Information about a certain user's StarGift.

Constructors

Properties

peers: PeersIndex

Accessors

  • get canExportAt(): null | Date
  • Returns null | Date

  • get canUpgrade(): boolean
  • Whether the gift can be upgraded to a unique gift

    Returns boolean

  • get convertStars(): null | Long
  • If the gift was converted to stars, the amount of stars it was converted to

    Returns null | Long

  • get date(): Date
  • Date the gift was sent or minted

    Returns Date

  • get hidden(): boolean
  • Whether this gift is not visible on the recipient's profile

    Returns boolean

  • get isRefunded(): boolean
  • Returns boolean

  • get messageId(): null | number
  • Message ID where the gift was sent, if available

    Returns null | number

  • get nameHidden(): boolean
  • Whether the sender chose to appear anonymously

    Returns boolean

  • get sender(): null | User
  • Sender of the gift, if available

    Returns null | User

  • get text(): null | TextWithEntities
  • Text attached to the gift

    Returns null | TextWithEntities

  • get transferStars(): null | Long
  • Number of stars this gift can be transferred for

    Returns null | Long

  • get upgradeStars(): null | Long
  • Number of stars to upgrade the gift to a unique gift (may be 0)

    Returns null | Long