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