Simple console program to send short telegram messages. Just compile the programm and copy the telegramSend.toml file to /etc.
Edit telegramSend.toml and include your telegram token and the chatid of the receiver.
Then just call the programm this way:
telegramSend >your text<
for example:
telegramSend This is a demo message.