Skip to main content

premium.boostsStatus

Contains info about the current boost status of a peer.

type tg.PremiumBoostsStatus struct { /* ... */ }

Fields​

NameTypeRequiredDescription
MyBoostbool—Whether we're currently boosting this channel/supergroup, my_boost_slots will also be set.
LevelintyesThe current boost level of the channel/supergroup.
CurrentLevelBoostsintyesThe number of boosts acquired so far in the current level.
BoostsintyesTotal number of boosts acquired so far.
GiftBoostsint—The number of boosts acquired from created Telegram Premium gift codes and giveaways; only returned to channel/supergroup admins.
NextLevelBoostsint—Total number of boosts needed to reach the next level; if absent, the next level isn't available.
PremiumAudienceStatsPercentValue—Only returned to channel/supergroup admins: contains the approximated number of Premium users subscribed to the channel/supergroup, related to the total number of subscribers.
BoostURLstringyesBoost deep link » that can be used to boost the chat.
PrepaidGiveaways[]PrepaidGiveawayClass—A list of prepaid giveaways available for the chat; only returned to channel/supergroup admins.
MyBoostSlots[]int—Indicates which of our boost slots we've assigned to this peer (populated if my_boost is set).

Returned by​

References​