Information about boosts in a channel

Constructors

Properties

Accessors

  • get boostSlots(): number[]
  • If isBoosting, IDs of the boost slots that are currently occupied by this channel

    Returns number[]

  • get currentBoosts(): number
  • Total number of boosts this channel has

    Returns number

  • get currentLevelBoosts(): number
  • Number of boosts that were needed for the current level

    Returns number

  • get gifts(): number
  • The number of boosts acquired from created Telegram Premium gift codes and giveaways, only available to channel admins

    Returns number

  • get isBoosting(): boolean
  • Whether this channel is being boosted by the current user

    Returns boolean

  • get isMaxLevel(): boolean
  • Whether this channel is already at the maximum level

    Returns boolean

  • get level(): number
  • Current level of boosts in this channel.

    Currently this maps 1-to-1 to the number of stories the channel can post daily

    Returns number

  • get nextLevelBoosts(): null | number
  • Number of boosts the channel must have to reach the next level

    null if the channel is already at the maximum level

    Returns null | number

  • get premiumSubscribersPercentage(): null | number
  • If available, percentage of this channel's subscribers that are Premium

    Returns null | number

  • get remainingBoosts(): number
  • Number of boosts the channel needs in addition to the current value to reach the next level

    Returns number

  • get totalPremiumSubscribers(): null | number
  • If available, total number of Premium subscribers this channel has

    Returns null | number

  • get totalSubscribers(): null | number
  • If available, total number of subscribers this channel has

    Returns null | number

  • get url(): string
  • URL that would bring up the boost interface

    Returns string