This bot, built over Telegram API is designed to allow people to subscribe to updates using Telegram (like email newsletters).
git clone https://github.com/asdofindia/telegram-updates-bot.git
cd telegram-updates-bot
npm install
mv config.sample.json config.json
vim config.json
# put [bot token and timeout](https://github.com/dar5hak/bub#set) in config.json
# also set the admin id and the username of the bot
node bot.js
Alternatively, consider installing pm2
/start
to subscribe/stop
to unsubscribe/update message
to sendmessage
to all subscribers (admin only)/stats
for subscriber count (admin only)
Some bots running this code are: