libtd-ktx / kotlinx.telegram.extensions / ChatKtx / getGameHighScores
getGameHighScores
open suspend fun Chat.getGameHighScores(messageId: 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
messageId - Identifier of the message.
userId - User identifier.
Return TdApi.GameHighScores Contains a list of game high scores.