UserRating

class pyrogram.types.UserRating

Contains information about rating of a user.

Parameters:
  • level (int) – The level of the user. May be negative.

  • is_maximum_level_reached (bool) – True, if the maximum level is reached.

  • rating (int) – Numerical value of the rating.

  • current_level_rating (int) – The rating required for the current level.

  • next_level_rating (int, optional) – The rating required for the next level.