getInlineGameHighScores - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getInlineGameHighScores

getInlineGameHighScores

suspend fun TelegramFlow.getInlineGameHighScores(inlineMessageId: String?, userId: Int): GameHighScores

Suspend function, which returns game high scores and some part of the high score table in the range of the specified user; for bots only.

Parameters

inlineMessageId - Inline message identifier.

userId - User identifier.

Return GameHighScores Contains a list of game high scores.