first goto botfather and create a robot
trun on inline mode and change Inline feedback too 100%
revoke token
For on Ubuntu 16.04 x64:
cd $home && git clone https://github.com/breakheart371/inline_TG.git && cd inline_TG && chmod 700 launch.sh && ./launch.sh
press key "y" & "enter"
after install completed
cd bot
nano bot.lua
edit and replace
line 10 = id owner & sudo
line 11 = sudo user's
line 12 = cli bot id (telegram account)
line 42 = cli bot id (telegram account)
line 878 = robot id (botfather)
press key "ctrl+x" & "y" & "enter"
cd ../api
nano api.bot
edit and replace
line 5 token robot (botfather)
line 10 = id owner & sudo
line 12 = sudo user's
and line 162 = #CliBotId : (telegram account) - #SudoId (owner id)
if q.from.id == #CliBotId or q.from.id == #SudoId then
press key "ctrl+x" & "y" & "enter
cd ../bot
screen bot.sh
# Will ask you for a phone number & confirmation code.
close window
from sudo account & cli bot account, start robot (botfather)
run again server
cd inline_TG && cd api && screen ./api.sh
from sudo account send " /start " to cli bot.
then
add cli bot too supergroup and send /settings