Skip to content

UserRating

Type · TDLib 1.8.67 · d1085f9c

Contains description of user rating

UserRating(
  level: int32,
  is_maximum_level_reached: Bool,
  rating: int53,
  current_level_rating: int53,
  next_level_rating: int53
) → UserRating

level

int32

The level of the user; may be negative

is_maximum_level_reached

Bool

True, if the maximum level is reached

rating

int53

Numerical value of the rating

current_level_rating

int53

The rating required for the current level

next_level_rating

int53

The rating required for the next level; 0 if the maximum level is reached