This a sample to start with a Telegram bot, ready to go script
Register a Telegram Bot with BotFather and get the Keys In the root directory create and update the key with .env file as showed in the .env_demo Install Node, PM2 etc to run the node server
- Install dependencies -
cd GET IN TO PROJECT
&&
npm install
- Create
.env
file in the root directory of the project, demo of .env is added in root with name of .env_demo - Run the development server -
npm run dev