set Game Score
Use this method to set the score of the specified user in a game. On success, if the message was sent by the bot, returns the edited Message, otherwise returns True. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
Use this method to set the score of the specified user in a game. On success, if the message was sent by the bot, returns the edited Message, otherwise returns True. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
Parameters
User identifier
New score, must be non-negative
Pass True, if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters
Pass True, if the game message should not be automatically edited to include the current scoreboard
Required if inline_message_id is not specified. Unique identifier for the target chat
Required if inline_message_id is not specified. Identifier of the sent message
Required if chat_id and message_id are not specified. Identifier of the inline message