#!/bin/bash ###### ### # telegram-cli bash script r0.1 # change 'to' to your own Telegram account name # by = Mohammad Hafiz bin Ismail [mypapit@gmail.com] # url= https://blog.mypapit.net/ ### ###### DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ## Replace 'to' with your account name to=Alessio ## function show_usage { echo "Usage $0 [message]" exit } if [ $# -lt 1 ] then show_usage fi $DIR/tg/bin/telegram-cli -W -e "msg $to $1"