premium.boostsStatus #

Contains info about the current boost status of a peer.

Layer 223

premium.boostsStatus#4959427a flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int gift_boosts:flags.4?int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string prepaid_giveaways:flags.3?Vector<PrepaidGiveaway> my_boost_slots:flags.2?Vector<int> = premium.BoostsStatus;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
my_boostflags.2?trueWhether we're currently boosting this channel/supergroup, my_boost_slots will also be set.
levelintThe current boost level of the channel/supergroup.
current_level_boostsintThe number of boosts acquired so far in the current level.
boostsintTotal number of boosts acquired so far.
gift_boostsflags.4?intThe number of boosts acquired from created Telegram Premium gift codes and giveaways; only returned to channel/supergroup admins.
next_level_boostsflags.0?intTotal number of boosts needed to reach the next level; if absent, the next level isn't available.
premium_audienceflags.1?StatsPercentValueOnly returned to channel/supergroup admins: contains the approximated number of Premium users subscribed to the channel/supergroup, related to the total number of subscribers.
boost_urlstringBoost deep link » that can be used to boost the chat.
prepaid_giveawaysflags.3?Vector<PrepaidGiveaway>A list of prepaid giveaways available for the chat; only returned to channel/supergroup admins.
my_boost_slotsflags.2?Vector<int>Indicates which of our boost slots we've assigned to this peer (populated if my_boost is set).

Type #

premium.BoostsStatus

Giveaways and gifts #

Telegram channel and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

Channel and supergroup boosts #

Telegram Premium users can grant their favorite channels and supergroups additional features like the ability to post stories by giving them boosts.