Hi everyone,
I pulled out a small script from another project of mine. This allows you to send messages directly from the terminal to a Telegram chat.
The only things you need to find out are:
I'm going to do a tutorial on this.
curl -Os https://gist.githubusercontent.com/maxpatternman/5f5fe1d475f1626f4bac752f7c3cb5bc/raw/b9b470c1370cfa3b9de819f657e7ba19b5dbc967/send_to_telegram
chmod +x send_to_telegram
sudo mv send_to_telegram /usr/local/bin/send_to_telegram
sudo nano /usr/local/bin/send_to_telegram
Fill in you API_TOKEN and CHAT_ID
send_to_telegram 'some cool text'
sudo rm /usr/local/bin/send_to_telegram
Have fun :)