Self-signed certificates are allowed

According to Telegram Bot API [recent changes](https://core.telegram.org/bots/api#recent-changes):

```
August 29, 2015
    Added support for self-signed certificates: upload your certificate using the certificate parameter in the setWebhook method.
```
experimental
Guido García 11 years ago
parent 2786e13aff
commit 510e914a73
  1. 2
      README.md

@ -32,7 +32,7 @@ Every time TelegramBot receives a message, it emits a `message`. Depending on w
## TelegramBot ## TelegramBot
Both request method to obtain messages are implemented. To use standard polling, set `polling: true` Both request method to obtain messages are implemented. To use standard polling, set `polling: true`
on `options`. Notice that [webHook](https://core.telegram.org/bots/api#setwebhook) will need a valid (not self signed) SSL certificate. on `options`. Notice that [webHook](https://core.telegram.org/bots/api#setwebhook) will need a valid SSL certificate (self-signed certificates are allowed since August 29, 2015).
Emits `message` when a message arrives. Emits `message` when a message arrives.
See: https://core.telegram.org/bots/api See: https://core.telegram.org/bots/api

Loading…
Cancel
Save