This object describes the rating of a user based on their Telegram Star spendings.
More...
#include <Types.h>
|
| std::int32_t | level { } |
| | Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely reason for concern.
|
| std::int32_t | rating { } |
| | Numerical value of the user's rating; the higher the rating, the better.
|
| std::int32_t | currentLevelRating { } |
| | The rating value required to get the current level.
|
| std::optional< std::int32_t > | nextLevelRating { } |
| | Optional. The rating value required to get to the next level; omitted if the maximum level was reached.
|
This object describes the rating of a user based on their Telegram Star spendings.
Definition at line 14954 of file Types.h.
◆ Ptr
◆ currentLevelRating
| std::int32_t TgBot::UserRating::currentLevelRating { } |
The rating value required to get the current level.
Definition at line 14972 of file Types.h.
◆ level
| std::int32_t TgBot::UserRating::level { } |
Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely reason for concern.
Definition at line 14962 of file Types.h.
◆ nextLevelRating
| std::optional<std::int32_t> TgBot::UserRating::nextLevelRating { } |
Optional. The rating value required to get to the next level; omitted if the maximum level was reached.
Definition at line 14978 of file Types.h.
◆ rating
| std::int32_t TgBot::UserRating::rating { } |
Numerical value of the user's rating; the higher the rating, the better.
Definition at line 14967 of file Types.h.
The documentation for this struct was generated from the following file: