messages.setInlineGameScore
Use this method to set the score of the specified user in a game sent as an inline message (bots only).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
edit_message | true | Nein | Set this flag if the game message should be automatically edited to include the current scoreboard |
force | true | Nein | Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters |
id | InputBotInlineMessageID | Ja | ID of the inline message |
user_id | InputUser | Ja | Benutzerkennung |
score | int | Ja | New score |
Antworten
Bool
MTProto RPC
- 400 · MESSAGE_ID_INVALID – Die angegebene Nachrichten-ID ist ungültig.
- 400 · USER_BOT_REQUIRED — Diese Methode kann nur von einem Bot aufgerufen werden.