####
The Pro Telegram Group Manager
Created By ♥ In Iran ***
**A Telegram Bot based on plugins using tg **
# را نصب میکنیم sudo lua ابتدا
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev
# را نصب میکنیم Telegram Cli سپس
cd $HOME
git clone --recursive https://github.com/amirhmz/tg.git && cd tg
# را نصب و اجرا میکنیم Bot و در آخر
cd $HOME
git clone https://github.com/amirhmz/Xamarin.git
cd Xamarin
chmod +x ./launch.sh
./launch.sh install
cd tg
rm lua-tg.c # And Paste Lua-tg.c to tg Folder
make && cd # For Support Sticker Operation
./launch.sh # Enter a phone number & confirmation code.
##One Command :)
sudo apt-get update; sudo apt-get upgrade -y --force-yes; sudo apt-get dist-upgrade -y --force-yes; sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson* libpython-dev make unzip git redis-server g++ -y --force-yes && git clone https://github.com/amirhmz/Xamarin.git && cd Xamarin && ./launch.sh install && ./launch.sh
- Note : put lua-tg.c in /root/Xamarin/tg/ then reboot the server
After you run bot for first time,turn it off
create an empty group with it
run it again
obtain that groups id using /id and add its id to realms table in /data/config.lua
realm = {Your Realm ID},#Realms ID
then start the bot again :D
After Your Bot Run for first time,turn it off go to /plugins/feedback.lua and in line 8 Set Your Realm ID in User msg Send To This Group :|
local chat = "chat#id"..83535263
--like : local chat = "chat#id"..12345678
CTRL+S For Save it and start again
Bot | Channel | Telegram | |
---|---|---|---|
Bot | Join | Developer ![]() |
If you are using /join service for first time
you have to send it 11 time ( Bot is spam reported )