Layer 220
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

StarsRating

Gogram Example

// Creating StarsRating constructor
obj := &tg.StarsRating{
    Level: 0,
    CurrentLevelStars: int64(0),
    Stars: int64(0),

    // Optional fields:
    // NextLevelStars: int64(0),
}