mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
* add telegram bot starter example * fix deploy button and mark bot token as required * update README
Telegram bot example
This example starts a Telegram bot on an ExpressJS server.
✨ Features
- Telegraf (library to interact with the Telegram bot API)
- Express
- TypeScript
💁♀️ How to use
- Install dependencies
yarn - Connect to your Railway project
railway init - Start the development server
railway run yarn dev
📝 Notes
The server started launches a Telegram bot with a couple of basic commands. The code is located at src/index.js.