mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 05:17:41 +00:00
[docs] Add link to docs for more information
This commit is contained in:
parent
afd2373351
commit
2ff2716ca2
@ -126,6 +126,7 @@ Emits `message` when a message arrives.
|
||||
| [options.webHook.key] | <code>String</code> | | PEM private key to webHook server. |
|
||||
| [options.webHook.cert] | <code>String</code> | | PEM certificate (public) to webHook server. |
|
||||
| [options.onlyFirstMatch] | <code>Boolean</code> | <code>false</code> | Set to true to stop after first match. Otherwise, all regexps are executed |
|
||||
| [options.request] | <code>Object</code> | | Options which will be added for all requests to telegram api. See https://github.com/request/request#requestoptions-callback for more information. |
|
||||
|
||||
<a name="TelegramBot+stopPolling"></a>
|
||||
|
||||
|
@ -43,6 +43,7 @@ class TelegramBot extends EventEmitter {
|
||||
* @param {String} [options.webHook.cert] PEM certificate (public) to webHook server.
|
||||
* @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.
|
||||
* @see https://core.telegram.org/bots/api
|
||||
*/
|
||||
constructor(token, options = {}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user