premium.boostsStatus
Contains info about the current boost status of a peer.
type tg.PremiumBoostsStatus struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
MyBoost | bool | — | Whether we're currently boosting this channel/supergroup, my_boost_slots will also be set. |
Level | int | yes | The current boost level of the channel/supergroup. |
CurrentLevelBoosts | int | yes | The number of boosts acquired so far in the current level. |
Boosts | int | yes | Total number of boosts acquired so far. |
GiftBoosts | int | — | The number of boosts acquired from created Telegram Premium gift codes and giveaways; only returned to channel/supergroup admins. |
NextLevelBoosts | int | — | Total number of boosts needed to reach the next level; if absent, the next level isn't available. |
PremiumAudience | StatsPercentValue | — | 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. |
BoostURL | string | yes | Boost 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
- Official documentation
- Generated Go reference
- TL definition:
premium.boostsStatus#4959427a