2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 05:17:41 +00:00

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.
```
This commit is contained in:
Guido García 2015-09-08 10:26:54 +02:00
parent 2786e13aff
commit 510e914a73

View File

@ -32,7 +32,7 @@ Every time TelegramBot receives a message, it emits a `message`. Depending on w
## TelegramBot
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.
See: https://core.telegram.org/bots/api