This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local allowed_users_id = {id1,id2} | |
local command = 'Download' | |
--------------------------------------------------- | |
started = 0 | |
our_id = 0 | |
print ("HI, this is lua script") |