From 84329d05b47c2b4953495bac6f339a58ef4188de Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Mon, 2 Jan 2017 14:36:39 +0300 Subject: [PATCH] [lint] Fix error reported by linter --- README.md | 2 +- src/telegram.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 383ebc4..3f8dc39 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Emits `message` when a message arrives. | [options.webHook.cert] | String | | Path to file with PEM certificate (public) for webHook server. (Read synchronously!) | | [options.webHook.autoOpen] | Boolean | true | Open webHook immediately | | [options.onlyFirstMatch] | Boolean | false | Set to true to stop after first match. Otherwise, all regexps are executed | -| [options.request] | Object | | Options which will be added for all requests to telegram api. See https://github.com/request/request#requestoptions-callback for more information. | +| [options.request] | Object | | Options which will be added for all requests to telegram api. See https://github.com/request/request#requestoptions-callback for more information. | | [options.baseApiUrl] | String | https://api.telegram.org | API Base URl; useful for proxying and testing | diff --git a/src/telegram.js b/src/telegram.js index 4156d65..0d62a3f 100644 --- a/src/telegram.js +++ b/src/telegram.js @@ -50,7 +50,8 @@ class TelegramBot extends EventEmitter { * @param {String} [options.webHook.cert] Path to file with PEM certificate (public) for webHook server. (Read synchronously!) * @param {Boolean} [options.webHook.autoOpen=true] Open webHook immediately * @param {Boolean} [options.onlyFirstMatch=false] Set to true to stop after first match. Otherwise, all regexps are executed - * @param {Object} [options.request] Options which will be added for all requests to telegram api. See https://github.com/request/request#requestoptions-callback for more information. + * @param {Object} [options.request] Options which will be added for all requests to telegram api. + * See https://github.com/request/request#requestoptions-callback for more information. * @param {String} [options.baseApiUrl=https://api.telegram.org] API Base URl; useful for proxying and testing * @see https://core.telegram.org/bots/api */