- Download the express-webhook template.
- Set BOT_TOKEN and WEBHOOK_SECRET.
- Run locally and tunnel HTTPS.
- setWebhook with the same secret.
- Confirm with getWebhookInfo and /start.
Tutorial
Build a minimal Telegram webhook with Node http
Secret token check, fast 200 and async sendMessage.