mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 12:57:38 +00:00
options.polling.timeout=10
This commit is contained in:
parent
119bb95c8a
commit
928cbbe95b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user