Please see Sumanjay's NewsInshorts Api before seeing this repo.
This Bot can be stopped anytime because this bot is using third party Api which can be stop working anytime.
This is a Automated Whatsapp Bot which sends News of your category to specific chat.
This bot needs only 4 Environmental Variables:-
-
SESSION
-
CHAT_ID
Run following code in terminal.
git clone https://github.com/Krishna-Singhal/Whatsapp-NewsInshorts.git cd Whatsapp-NewsInshorts npm install
Now get your session.json file and paste that file in root directory. Now run
npm run getChatId
Now send !getid in chat where you want to send automated News.
-
CATEGORY
-
DELAY
Delay in how much, bot will parse news from Api. This is not the delay of messages which bot will send. Defaults to 150 seconds.
Cron Job steps would be found here.
- Whatsapp Web JS - This project is fully depended on this Library
- NewsInshorts API - Thanks to Sumanjay for his NewsInshorts API
⭐ this repo and show some ❤️ if you found this bot useful.