TDLib v0.0.2 TDLib.Method.SetInlineGameScore View Source
Updates the game score of the specified user in a game; for bots only.
Returns object_ptr
Name | Type | Description |
---|---|---|
inline_message_id | string | Inline message identifier. |
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.