Simple JS app to poll Telegram bot and imitate webhooks for local development
node.js, npm
- Clone repo
- Run
npm install
node app.js <your-bot-token> <local-webhooks-url>
Example:
node app.js 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 http://127.0.0.1:8000/webhooks