Inherits Object.
Contains description of user rating.
Public Fields | |
| int32 | level_ |
| The level of the user; may be negative. | |
| bool | is_maximum_level_reached_ |
| True, if the maximum level is reached. | |
| int53 | rating_ |
| Numerical value of the rating. | |
| int53 | current_level_rating_ |
| The rating required for the current level. | |
| int53 | next_level_rating_ |
| The rating required for the next level; 0 if the maximum level is reached. | |
Public Instance Methods | |
| userRating () | |
| userRating (int32 level_, bool is_maximum_level_reached_, int53 rating_, int53 current_level_rating_, int53 next_level_rating_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 532047235 |
| Identifier uniquely determining a type of the object. | |
| userRating | ( | ) |
Contains description of user rating.
| userRating | ( | int32 | level_, |
| bool | is_maximum_level_reached_, | ||
| int53 | rating_, | ||
| int53 | current_level_rating_, | ||
| int53 | next_level_rating_ | ||
| ) |
Contains description of user rating.
| [in] | level_ | The level of the user; may be negative. |
| [in] | is_maximum_level_reached_ | True, if the maximum level is reached. |
| [in] | rating_ | Numerical value of the rating. |
| [in] | current_level_rating_ | The rating required for the current level. |
| [in] | next_level_rating_ | The rating required for the next level; 0 if the maximum level is reached. |
|
finalvirtual |