Layer 220
MessagesGetInlineGameHighScores
Get highscores of a game sent using an inline bot
method
Bots
messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | InputBotInlineMessageID | ID of inline message |
| UserId | InputUser | Get high scores of a certain user |
Returns
messages.HighScoresPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
| 400 | USER_BOT_REQUIRED | This method can only be called by a bot. |
Gogram Example
// MessagesGetInlineGameHighScores - positional arguments result, err := client.MessagesGetInlineGameHighScores(&tg.InputBotInlineMessageId{}, &tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.MessagesHighScores