StarsRating
- class pyrogram.raw.types.StarsRating
Represents the profile’s star rating, see here » for more info.
Constructor of
StarsRating.- Details:
Layer:
223ID:
1B0E4F07
- Parameters:
level (
int32-bit) – The current level, may be negative.current_level_stars (
int64-bit) – The numerical value of the rating required for the current level.stars (
int64-bit) – Numerical value of the current rating.next_level_stars (
int64-bit, optional) – The numerical value of the rating required for the next level.
TL Schema
starsRating#1b0e4f07
flags:#
level:int
current_level_stars:long
stars:long
next_level_stars:flags.0?long
= StarsRating
Parameter Tree
StarsRating
├── level →
int├── current_level_stars →
long├── stars →
long└── next_level_stars →
long (optional)Example
StarsRating(
level=0,
current_level_stars=0,
stars=0,
)