libtd-ktx / kotlinx.telegram.extensions / MessageKtx / getGameHighScores
getGameHighScores
open suspend fun
Message
.getGameHighScores(chatId:
Long
, userId:
Int
):
GameHighScores
Suspend function, which 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
chatId
- The chat that contains the message with the game.
userId
- User identifier.
Return TdApi.GameHighScores Contains a list of game high scores.