Machine-readable version of this page: /method/messages.getGameHighScores.md.
Get highscores of a game
Method schema is available as of layer 57. Switch ยป
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Where was the game sent |
| id | int | ID of message with game media attachment |
| user_id | InputUser | Get high scores made by a certain user |
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
| 400 | USER_BOT_REQUIRED | This method can only be called by a bot. |