diff --git a/examples/httpsWebHook.js b/examples/httpsWebHook.js index cdbeefc..ed15de4 100644 --- a/examples/httpsWebHook.js +++ b/examples/httpsWebHook.js @@ -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');