The best source based on New tg-cli telegram bot
Tnx by A simple Lua library for the telegram-cli #INSTALL
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev lua-socket lua-sec lua-expat libevent-dev make unzip git redis-server autoconf g++ libjansson-dev libpython-dev expat libexpat1-dev ppa-purge python3-pip python3-dev
sudo pip3 install redis
sudo service redis-server restart
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo ppa-purge
git clone https://github.com/CRUELTM/cruel_bot.git
cd cruel_bot
chmod +x install
./install
#Commands
###add
[#!/]add
[#!/]rem
###locks
[#!/]lock (links,edit,fwd,username,spam)
[#!/]lock links
###mutes
[#!/]mute (all,photo,document,gif,audio,voice,video)
[#!/]mute all
###settings
[#!/]settings
###promote and demote
[#!/]promote --by reply or id
[#!/]demote --by reply or id
###set owner
[#!/]setowner --by reply or id
###import
[#!/]import https://telegram.me/joinchat/
###botname
[#!/]setbotname firstname lastname
###botusername
[#!/]setbotusername (username)
[#!/]rembotusername
###botphoto
[#!/]setbotphoto
Photo
###markread
[#!/]markread (on,off)
###pin
[#!/]pin --reply
[#!/]unpin
###plugins
[#!/]plugins
[#!/]plugins + (plugins) [#!/]plugins - (plugins)
###bc
[#!/]bc (id) (Message)