Skip to content

Instantly share code, notes, and snippets.

#! /bin/bash
#locate your own files
script_path="/home/pi/tg/downloads.lua"
tg_server="/home/pi/tg/tg-server.pub"
sleep 5
telegram -s $script_path -k $tg_server -vvv
local allowed_users_id = {id1,id2}
local command = 'Download'
---------------------------------------------------
started = 0
our_id = 0
print ("HI, this is lua script")