Are you using ngrok for webhooks?
Nope, I'm using polling with Node. github.com/yagop/node-telegra…
Are you using a service that loops over or just a cronjob/schedule task every X seconds?
It's a websocket connection to the Telegram server and keeps the process alive, so the bot never quits running.
Is this something specific to Node? I am using PHP, in this example it just goes recursively with sleep method: github.com/kolar/telegram-pol…
sleep
No idea. Maybe don't use PHP :D
Are you using ngrok for webhooks?
Nope, I'm using polling with Node. github.com/yagop/node-telegra…
Are you using a service that loops over or just a cronjob/schedule task every X seconds?
It's a websocket connection to the Telegram server and keeps the process alive, so the bot never quits running.
Is this something specific to Node? I am using PHP, in this example it just goes recursively with
sleepmethod: github.com/kolar/telegram-pol…No idea. Maybe don't use PHP :D