Get highscores of a game
 Method schema is available as of layer 57. Switch ยป
Parameters
| 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 | 
Result
messages.HighScores
Only bots can use this method
Possible errors
| 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. |