What does a Telegram monitoring server do?
First of all create a bot with BotFather (For more info) when you have done that you should have a code like this (123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11), Now we need to create some files just copy the commands.
And paste the following:
You can close it now and save it.
Now for the script we need to create another file.
Copy this code that i wrote from GitHub and paste it inside the TelegramScript.py
Now lets make sure you have everything you need to run everything, execute the following commands.
Now that everything is installed we can create a auto start script with the following command.
sudo nano /etc/systemd/system/TelegramScript.service
And inside that we need to put some lines of code:
Now lets run the script with the following commands
If everything went well we can now go to telegram and talk with our bot to get the Server information, Simply type /Start in the chat and the server should respond with all the commands.