Layer 220
StarsRating
Represents the profile's star rating, see here for more info.
constructor
starsRating#1b0e4f07 flags:# level:int current_level_stars:long stars:long next_level_stars:flags.0?long = StarsRating;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Level | int | The current level, may be negative. |
| CurrentLevelStars | long | The numerical value of the rating required for the current level. |
| Stars | long | Numerical value of the current rating. |
| NextLevelStars | flags.0?long | The numerical value of the rating required for the next level. |
Returns
StarsRatingGogram Example
// Creating StarsRating constructor obj := &tg.StarsRating{ Level: 0, CurrentLevelStars: int64(0), Stars: int64(0), // Optional fields: // NextLevelStars: int64(0), }