TDLib v0.0.2 TDLib.Method.SetGameScore View Source
Updates the game score of the specified user in the game; for bots only.
Returns object_ptr
| Name | Type | Description |
|---|---|---|
| chat_id | string | The chat to which the message with the game. |
| message_id | string | Identifier of the message. |
| edit_message | bool | True, if the message should be edited. |
| user_id | number | User identifier. |
| score | number | 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. |
More details on telegram’s documentation.