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.

NameTypeDescription
inline_message_idstringInline message identifier.
edit_messageboolTrue, if the message should be edited.
user_idnumberUser 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.