In case you don't see the python code click here
You just need python 3.X and you may need to run pip3 install requests
to install the necessary lib to make http requests.
To be able to run this, you need to create a bot in telegram, then get the api key from the bot and get your chat id, it's like your used id.