style: split comment to two lines
This commit is contained in:
parent
66a4b09288
commit
5b7c636aed
@ -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": {
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user