View Source ExTDLib.Method.SetGameScore (ExTDLib v0.0.4)

Updates the game score of the specified user in the game; for bots only. Returns object_ptr<Message>.

NameTypeDescription
chat_idstringThe chat to which the message with the game belongs.
message_idstringIdentifier of the message.
edit_messageboolPass true to edit the game message to include the current scoreboard.
user_idstringUser identifier.
scorenumberThe new score.
forceboolPass true to update the score even if it decreases. If the score is 0, the user will be deleted from the high score table.

More details on telegram's documentation.