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.