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:
parent
2786e13aff
commit
510e914a73
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user