UserKtx.getGameHighScores - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / UserKtx / getGameHighScores

getGameHighScores

open suspend fun User.getGameHighScores(chatId: Long, messageId: Long): 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.

messageId - Identifier of the message.

Return TdApi.GameHighScores Contains a list of game high scores.