getGameHighScores

inline fun getGameHighScores(userId: Long, messageId: Long): GetGameHighScoresAction

Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects.

Api reference

Parameters

userId

Target user id

chatId

Required if inline_message_id is not specified. Unique identifier for the target chat

messageId

Required if inline_message_id is not specified. Identifier of the sent message

inlineMessageId

Required if chat_id and message_id are not specified. Identifier of the inline message


inline fun getGameHighScores(user: User, messageId: Long): GetGameHighScoresAction