GetGameHighScoresRequest

data class GetGameHighScoresRequest(userId: Int, chatId: Int?, messageId: Int?, inlineMessageId: String?)

Request body for getGameHighScores

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

Constructors

GetGameHighScoresRequest
Link copied to clipboard
common
fun GetGameHighScoresRequest(userId: Int, chatId: Int? = null, messageId: Int? = null, inlineMessageId: String? = null)
Target user id

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): Int?
component3
Link copied to clipboard
common
operator fun component3(): Int?
component4
Link copied to clipboard
common
operator fun component4(): String?
copy
Link copied to clipboard
common
fun copy(userId: Int, chatId: Int? = null, messageId: Int? = null, inlineMessageId: String? = null): GetGameHighScoresRequest
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

chatId
Link copied to clipboard
common
val chatId: Int? = null
Required if inline_message_id is not specified.
inlineMessageId
Link copied to clipboard
common
val inlineMessageId: String? = null
Required if chat_id and message_id are not specified.
messageId
Link copied to clipboard
common
val messageId: Int? = null
Required if inline_message_id is not specified.
userId
Link copied to clipboard
common
val userId: Int
Target user id