StarsRating

class pyrogram.raw.base.StarsRating

Represents the profile’s star rating, see here » for more info.

Constructors:

This base type has 1 constructor available.

StarsRating

Represents the profile's star rating, see here » for more info.

TL Schema

starsRating#1b0e4f07
flags:#
level:int
current_level_stars:long
stars:long
next_level_stars:flags.0?long

= StarsRating

Parameter Tree

StarsRating
├── levelint
├── current_level_starslong
├── starslong
└── next_level_starslong (optional)

Example

StarsRating(
    level=0,
    current_level_stars=0,
    stars=0,
    next_level_stars=0,
)