Skip to content

Instantly share code, notes, and snippets.

View telegram_start.sh
#! /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
View downloads.lua
local allowed_users_id = {id1,id2}
local command = 'Download'
---------------------------------------------------
started = 0
our_id = 0
print ("HI, this is lua script")
You can’t perform that action at this time.