Set Game Score Request
data class SetGameScoreRequest(userId: Int, score: Int, force: Boolean, disableEditMessage: Boolean, chatId: Int?, messageId: Int?, inlineMessageId: String?)
Content copied to clipboard
Request body for setGameScore
Parameters
userId
User identifier
score
New score, must be non-negative
force
Pass True, if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters
disableEditMessage
Pass True, if the game message should not be automatically edited to include the current scoreboard
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
SetGameScoreRequest
Link copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard