StarsRating

class pyrogram.types.StarsRating

The Stars rating of a user or channel.

Parameters:
  • level (int) – Current Stars level.

  • current_level_stars (int) – Stars earned at the current level.

  • stars (int) – Total Stars earned.

  • next_level_stars (int, optional) – Stars needed to reach the next level.