This script contains code to send login and logout notifications from a PPPoE server to a Telegram chat. When a user logs in, it retrieves information like IP address, uptime, caller ID, etc and sends it to the chat. On logout, it sends information like last disconnect reason, last logout time, last caller ID. Both login and logout messages include the date, time, username, total active clients and server name. The script uses the Telegram Bot API to send messages programmatically to a chat.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
269 views1 page
Script Bot Telegram PPP ONOFF
This script contains code to send login and logout notifications from a PPPoE server to a Telegram chat. When a user logs in, it retrieves information like IP address, uptime, caller ID, etc and sends it to the chat. On logout, it sends information like last disconnect reason, last logout time, last caller ID. Both login and logout messages include the date, time, username, total active clients and server name. The script uses the Telegram Bot API to send messages programmatically to a chat.