diff --git a/CHANGELOG.md b/CHANGELOG.md index 6035a19..9c0a653 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Added: friends e.g. `text`, `audio`, etc.) (#409) (by @jlsjonas, @GochoMugo) 1. Add support for Node.js v9 (by @GochoMugo) 1. Document *TelegramBot.errors*, *TelegramBot.messageTypes* (by @GochoMugo) +1. Fix game example (by @MCSH) Changed: diff --git a/examples/game/game.js b/examples/game/game.js index 2180863..cd7a9d2 100644 --- a/examples/game/game.js +++ b/examples/game/game.js @@ -39,7 +39,7 @@ bot.onText(/\/start/, function onPhotoText(msg) { // Handle callback queries bot.on('callback_query', function onCallbackQuery(callbackQuery) { - bot.answerCallbackQuery(callbackQuery.id, url, true, { url }); + bot.answerCallbackQuery(callbackQuery.id, { url }); }); // Render the HTML game