class
Tourmaline::UserRating
- Tourmaline::UserRating
- Reference
- Object
Overview
This object describes the rating of a user based on their Telegram Star spendings.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(level : Int32 | Int64, rating : Int32 | Int64, current_level_rating : Int32 | Int64, next_level_rating : Int32 | Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#current_level_rating : Int32 | Int64
The rating value required to get the current level
-
#current_level_rating=(current_level_rating : Int32 | Int64)
The rating value required to get the current level
-
#level : Int32 | Int64
Current level of the user, indicating their reliability when purchasing digital goods and services.
-
#level=(level : Int32 | Int64)
Current level of the user, indicating their reliability when purchasing digital goods and services.
-
#next_level_rating : Int32 | Int64 | Nil
Optional.
-
#next_level_rating=(next_level_rating : Int32 | Int64 | Nil)
Optional.
-
#rating : Int32 | Int64
Numerical value of the user's rating; the higher the rating, the better
-
#rating=(rating : Int32 | Int64)
Numerical value of the user's rating; the higher the rating, the better
Constructor Detail
Instance Method Detail
The rating value required to get the current 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.
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.
Optional. The rating value required to get to the next level; omitted if the maximum level was reached
Optional. The rating value required to get to the next level; omitted if the maximum level was reached
Numerical value of the user's rating; the higher the rating, the better
Numerical value of the user's rating; the higher the rating, the better