premium.BoostsStatus
Contains info about the current boost status of a peer.
- Constructors:
This base type has 1 constructor available.
Contains info about the current boost status of a peer.
- Functions:
This object can be returned by 1 function.
Gets the current number of boosts of a channel/supergroup.
TL Schema
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
Parameter Tree
BoostsStatus
├── my_boost →
true (optional)├── level →
int├── current_level_boosts →
int├── boosts →
int├── gift_boosts →
int (optional)├── next_level_boosts →
int (optional)├── premium_audience →
StatsPercentValue (optional)│ └──
StatsPercentValue│ ├── part →
double│ └── total →
double├── boost_url →
string├── prepaid_giveaways →
Vector < PrepaidGiveaway > (optional)│ ├──
PrepaidGiveaway│ │ ├── id →
long│ │ ├── months →
int│ │ ├── quantity →
int│ │ └── date →
int│ └──
PrepaidStarsGiveaway│ ├── id →
long│ ├── stars →
long│ ├── quantity →
int│ ├── boosts →
int│ └── date →
int└── my_boost_slots →
Vector < int > (optional)Example
BoostsStatus(
my_boost=None,
level=0,
current_level_boosts=0,
boosts=0,
gift_boosts=0,
next_level_boosts=0,
premium_audience=StatsPercentValue(
part=0.0,
total=0.0
),
boost_url="text",
prepaid_giveaways=[
PrepaidGiveaway(
id=0,
months=0,
quantity=0,
date=0
)
],
my_boost_slots=[0],
)