mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 13:27:44 +00:00
Update httpsWebHook.js example with cert parameter
This commit is contained in:
parent
9e5df3022d
commit
9863172779
@ -9,4 +9,4 @@ var options = {
|
||||
};
|
||||
|
||||
var bot = new TelegramBot('BOT_TOKEN', options);
|
||||
bot.setWebHook('IP:PORT/botBOT_TOKEN');
|
||||
bot.setWebHook('IP:PORT/botBOT_TOKEN', __dirname+'/crt.pem');
|
||||
|
Loading…
x
Reference in New Issue
Block a user