Layer 224
StarsRatingObj
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 |
|---|---|---|
| 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 StarsRatingObj constructor obj := &tg.StarsRatingObj{ Level: 42, CurrentLevelStars: int64(1234567890), Stars: int64(1234567890), // Optional fields: // NextLevelStars: int64(1234567890), }