Skip to content

get game high scores

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / getGameHighScores

getGameHighScores

suspend fun TelegramFlow.getGameHighScores(chatId: Long, 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

chatId - The chat that contains the message with the game.

messageId - Identifier of the message.

userId - User identifier.

Return GameHighScores Contains a list of game high scores.

Clone this wiki locally