- Use the telegram-telegraf template.
- npm install and copy .env.example.
- npm run dev and message the bot.
- Read graceful shutdown handlers.
- Add a command and a test.
Tutorial
First Telegram bot with Telegraf
Install, long poll, /start and clean shutdown.