StarsRating#

class pyrogram.raw.types.StarsRating#

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

Constructor of StarsRating.

Details:
  • Layer: 220

  • ID: 1B0E4F07

Parameters:
  • level (int 32-bit) – The current level, may be negative.

  • current_level_stars (int 64-bit) – The numerical value of the rating required for the current level.

  • stars (int 64-bit) – Numerical value of the current rating.

  • next_level_stars (int 64-bit, optional) – The numerical value of the rating required for the next level.