Constructors

Properties

_peers: PeersIndex

Accessors

  • get canExportAt(): null | Date
  • Date when the gift can be exported to blockchain

    Returns null | Date

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

    Returns boolean

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

    Returns null | Long

  • get date(): Date
  • Date when the gift was sent

    Returns Date

  • get message(): null | TextWithEntities
  • The attached message

    Returns null | TextWithEntities

  • get messageId(): null | number
  • ID of the message where the gift was originally sent (if available)

    Returns null | number

  • get nameHidden(): boolean
  • Whether the sender name is hidden

    Returns boolean

  • get refunded(): boolean
  • Whether this gift was refunded

    Returns boolean

  • get savedId(): null | Long
  • ID of the saved gift

    Returns null | Long

  • get sender(): null | Peer
  • Sender of the gift

    Returns null | Peer

  • get transferStars(): null | Long
  • Amount of stars needed to transfer the gift

    Returns null | Long

  • get unsaved(): boolean
  • Whether this gift was not saved yet

    Returns boolean

  • get upgradeStars(): null | Long
  • Amount of stars needed to upgrade the gift to a unique gift

    Returns null | Long