🤖 Telegram Bot with Telegraf.js
🚀 A simple yet powerful Telegram bot built using Telegraf.js – a modern framework for building bots with ease.
✅ Easy-to-use JavaScript-based Telegram bot
✅ Uses Telegraf.js for seamless interaction with Telegram API
✅ Simple setup and deployment
✅ Lightweight and efficient
First, ensure you have Node.js installed.
You can install Telegraf.js using your preferred package manager:
# Using npm
npm install telegraf
# Using yarn
yarn add telegraf
# Using pnpm
pnpm add telegrafRun the bot with:
node bot.jsOr, if you have nodemon installed for auto-restarting:
nodemon bot.js💡 Hit CTRL+C to stop the bot.