api.getGameHighScores()
Returns the high scores for a game and some part of the high score table in the range of the specified user; for bots only
Parameters
GetGameHighScoresParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | The chat that contains the message with the game |
messageId | number | Identifier of the message |
userId | number | User identifier |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getGameHighScores' | 'error'
airgram: Airgram
request: {
method: 'getGameHighScores'
params: GetGameHighScoresParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}