diff --git a/src/telegramPolling.js b/src/telegramPolling.js index 91d6b45..365c168 100644 --- a/src/telegramPolling.js +++ b/src/telegramPolling.js @@ -104,6 +104,7 @@ class TelegramBotPolling { debug('updated offset: %s', this._offset); this.callback(update); }); + return null; }) .catch(err => { debug('polling error: %s', err.message);