Skip to content

Commit

Permalink
options.polling.timeout=10
Browse files Browse the repository at this point in the history
  • Loading branch information
yagop committed Jan 30, 2016
1 parent 119bb95 commit 928cbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var requestPromise = Promise.promisify(request);
* @param {String} token Bot Token
* @param {Object} [options]
* @param {Boolean|Object} [options.polling=false] Set true to enable polling or set options
* @param {String|Number} [options.polling.timeout=4] Polling time
* @param {String|Number} [options.polling.timeout=10] Polling time in seconds
* @param {String|Number} [options.polling.interval=2000] Interval between requests in miliseconds
* @param {Boolean|Object} [options.webHook=false] Set true to enable WebHook or set options
* @param {String} [options.webHook.key] PEM private key to webHook server.
Expand Down

0 comments on commit 928cbbe

Please sign in to comment.