Layer 224
constructor
highScore#73a379eb pos:int user_id:long score:int = HighScore;

Parameters

Name Type Description
Pos int Position in highscore list
UserId long User ID
Score int Score

Returns

HighScore

Gogram Example

// Creating HighScoreObj constructor
obj := &tg.HighScoreObj{
    Pos: 42,
    UserId: int64(1234567890),
    Score: 42,
}