setGameScore¶
Updates the game score of the specified user in the game; for bots only
setGameScore(
chat_id: int53,
message_id: int53,
edit_message: Bool,
user_id: int53,
score: int32,
force: Bool
) → Message
chat_id¶
int53
The chat to which the message with the game belongs
message_id¶
int53
Identifier of the message
edit_message¶
Bool
Pass true to edit the game message to include the current scoreboard
user_id¶
int53
User identifier
score¶
int32
The new score
force¶
Bool
Pass true to update the score even if it decreases. If the score is 0, the user will be deleted from the high score table