diff --git a/lib/api/TelegramApi.js b/lib/api/TelegramApi.js index 53356fd..2f8bb6c 100755 --- a/lib/api/TelegramApi.js +++ b/lib/api/TelegramApi.js @@ -637,7 +637,7 @@ class TelegramApi { */ setGameScore(userId, score, options) { const params = { - chat_id: chatId, + user_id: userId, score: score } @@ -651,4 +651,4 @@ class TelegramApi { } } -module.exports = TelegramApi \ No newline at end of file +module.exports = TelegramApi