diff --git a/package.json b/package.json index d2a4541..23ee6b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telegram-api", - "version": "4.0.0", + "version": "4.1.0", "description": "Control Telegram bots easily using the new Telegram API", "main": "build/index.js", "scripts": { diff --git a/src/functions/api.js b/src/functions/api.js index 4ca5ee4..55cd52b 100644 --- a/src/functions/api.js +++ b/src/functions/api.js @@ -66,7 +66,8 @@ const methods = ['getMe', 'sendMessage', 'forwardMessage', 'sendPhoto', methods.forEach(method => { API.prototype[method] = function (data) { //eslint-disable-line if (method === 'getUpdates') { - // don't add 'getUpdates' request to the queue as it's going to hinder 'send*' calls performance + // don't add 'getUpdates' request to the queue as it's going to + // hinder 'send*' calls performance return this.request(method, data); }