Skip to main content

premium.boostsStatus

Contains info about the current boost status of a peer.

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

Fields

NameTypeRequiredDescription
MyBoostboolWhether 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.
GiftBoostsintThe number of boosts acquired from created Telegram Premium gift codes and giveaways; only returned to channel/supergroup admins.
NextLevelBoostsintTotal number of boosts needed to reach the next level; if absent, the next level isn't available.
PremiumAudienceStatsPercentValueOnly 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[]PrepaidGiveawayClassA list of prepaid giveaways available for the chat; only returned to channel/supergroup admins.
MyBoostSlots[]intIndicates which of our boost slots we've assigned to this peer (populated if my_boost is set).

Returned by

References