$ git clone https://github.com/vysheng/tg.git $ sudo libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev $ unzip tg-master.zip $ cd tg-master $ cd tg $ ./configure $ make $ ./telegram -k tg.pub > msg > contact_list > msg Simon_Pegg Hello! > chat_with_user Simon_Pegg > send_ > send_photo Simon_Pegg /home/pi/Pictures/nick_frost.jpg $ ./telegram -N $ ./telegram -s yourscript.lua