Class ChatBoost

Constructors

Properties

createdUnixTime: number

Point in time (Unix timestamp) when the chat was boosted

expirationedUnixTime: number

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged

id: string

Unique identifier of the boost

Source of the added boost

Accessors

  • get createdTimestamp(): number
  • Returns the timestamp when the chat was created, in milliseconds

    Returns number

  • get expirationedAt(): Date
  • Point in time when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged

    Returns Date

  • get expirationedTimestamp(): number
  • Return the timestamp when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged, in milliseconds

    Returns number