tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::userRating Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::userRating:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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.
 

Static Public Attributes

static const std::int32_t ID = 532047235
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains description of user rating.

Definition at line 85915 of file td_api.h.

Constructor & Destructor Documentation

◆ userRating() [1/2]

td::td_api::userRating::userRating ( )

Contains description of user rating.

◆ userRating() [2/2]

td::td_api::userRating::userRating ( int32  level_,
bool  is_maximum_level_reached_,
int53  rating_,
int53  current_level_rating_,
int53  next_level_rating_ 
)

Contains description of user rating.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::userRating::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ current_level_rating_

int53 td::td_api::userRating::current_level_rating_

The rating required for the current level.

Definition at line 85932 of file td_api.h.

◆ ID

const std::int32_t td::td_api::userRating::ID = 532047235
static

Identifier uniquely determining a type of the object.

Definition at line 85953 of file td_api.h.

◆ is_maximum_level_reached_

bool td::td_api::userRating::is_maximum_level_reached_

True, if the maximum level is reached.

Definition at line 85928 of file td_api.h.

◆ level_

int32 td::td_api::userRating::level_

The level of the user; may be negative.

Definition at line 85926 of file td_api.h.

◆ next_level_rating_

int53 td::td_api::userRating::next_level_rating_

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

Definition at line 85934 of file td_api.h.

◆ rating_

int53 td::td_api::userRating::rating_

Numerical value of the rating.

Definition at line 85930 of file td_api.h.


The documentation for this class was generated from the following file: