Skip to content

setInlineGameScore

Sahri Riza Umami edited this page Dec 8, 2016 · 2 revisions

Bots only.
Updates game score of the specified user in the game.

setInlineGameScore(inline_message_id, edit_message, user_id, score, force)
Option Description
inline_message_id Inline message identifier.
edit_message true, if message should be edited.
user_id User identifier.
score New score
force Pass true to update the score even if it decreases. If score is 0, user will be deleted from the high scores table.

Example

setInlineGameScore(inline_message_id, edit_message, user_id, score, force)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally