Configuration for sending notify to telegram at every login
git clone https://github.com/Jipok/login-notify
- Using @BotFather, create a bot
- In
login-notify.sh
changeapiToken
to value obtained from @BotFather - In
login-notify.sh
changechatId
to valid chat id. Emaple: get your id from @myidbot make install
- To uninstall run
make uninstall
- You can also execute commands from the
Makefile
yourself, if you don't have make for some reason. - You can uncomment 5th line in
login-notify.sh
so as not to receive messages about the session closing - By default, it does not notify about connections from the local network. See 4th line.