2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-28 21:07:39 +00:00

Merge pull request #25 from palmerabollo/patch-1

Minor: self-signed certificates are now allowed
This commit is contained in:
Yago 2015-09-08 10:43:35 +02:00
commit f66ce031cb

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