GetGameHighScoresRequest

data class GetGameHighScoresRequest(user_id: Long, chat_id: Long?, message_id: Long?, inline_message_id: String?) : TelegramRequest

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. On success, returns an Array of GameHighScore objects.

This method will currently return scores for the target user, plus two of their closest neighbors on each side. Will also return the top three users if the user and his neighbors are not among them. Please note that this behavior is subject to change.

Constructors

GetGameHighScoresRequest
Link copied to clipboard
fun GetGameHighScoresRequest(user_id: Long, chat_id: Long? = null, message_id: Long? = null, inline_message_id: String? = null)

Properties

chat_id
Link copied to clipboard
val chat_id: Long? = null
Required if inline_message_id is not specified.
inline_message_id
Link copied to clipboard
val inline_message_id: String? = null
Required if chat_id and message_id are not specified.
message_id
Link copied to clipboard
val message_id: Long? = null
Required if inline_message_id is not specified.
user_id
Link copied to clipboard
val user_id: Long
Target user id