From 43747a83479a88f76a6d213887bc976c0ca351ef Mon Sep 17 00:00:00 2001 From: dobi Date: Thu, 6 Oct 2016 11:43:21 +0900 Subject: [PATCH] typo in setGameScore fixed --- lib/api/TelegramApi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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