2
0
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:
Yago 2015-09-27 13:12:58 +02:00
parent 9e5df3022d
commit 9863172779

View File

@ -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');