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
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. |
Bots can use this method