2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-31 22:35:38 +00:00

doc: Document options.webHook.host

This commit is contained in:
GochoMugo
2017-01-30 13:44:07 +03:00
parent c886cf2cb5
commit dad8697411
3 changed files with 6 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ Emits `message` when a message arrives.
| [options.polling.interval] | <code>String</code> &#124; <code>Number</code> | <code>300</code> | Interval between requests in miliseconds |
| [options.polling.autoStart] | <code>Boolean</code> | <code>true</code> | Start polling immediately |
| [options.webHook] | <code>Boolean</code> &#124; <code>Object</code> | <code>false</code> | Set true to enable WebHook or set options |
| [options.webHook.host] | <code>String</code> | <code>0.0.0.0</code> | Host to bind to |
| [options.webHook.port] | <code>Number</code> | <code>8443</code> | Port to bind to |
| [options.webHook.key] | <code>String</code> | | Path to file with PEM private key for webHook server. The file is read **synchronously**! |
| [options.webHook.cert] | <code>String</code> | | Path to file with PEM certificate (public) for webHook server. The file is read **synchronously**! |