💢 String session user doesn't need to be an admin of the Source chat
💢 String session user need to be an admin of the Destination chat
💢 Bot doesn't need to be added in the Source / Destination chats 😍
🚫 𝘾𝙧𝙚𝙖𝙩𝙚 𝙖 𝙨𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣 𝙛𝙧𝙤𝙢 𝙖 𝙪𝙨𝙚𝙧 𝙖𝙘𝙘𝙤𝙪𝙣𝙩 ( 𝙙𝙤𝙣'𝙩 𝙜𝙚𝙣𝙚𝙧𝙖𝙩𝙚 - 𝙪𝙨𝙚 𝙗𝙤𝙩 𝙨𝙚𝙨𝙨𝙞𝙤𝙣 )
👉 𝘾𝙡𝙞𝙘𝙠 𝙃𝙀𝙍𝙀 𝙩𝙤 𝙜𝙚𝙣𝙚𝙧𝙖𝙩𝙚 𝙖 𝙪𝙨𝙚𝙧 𝙨𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣
🚫 𝙎𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣 𝙪𝙨𝙚𝙧 𝙨𝙝𝙤𝙪𝙡𝙙 𝙣𝙤𝙩 𝙗𝙚 𝙗𝙖𝙣𝙣𝙚𝙙 𝙞𝙣 𝙩𝙝𝙚 𝙨𝙤𝙪𝙧𝙘𝙚 𝙘𝙝𝙖𝙩
TG_BOT_TOKEN - Get from @BotFather
APP_ID - Get from my.telegram.org
API_HASH - Get from my.telegram.org
TG_USER_SESSION - Run any userbot session maker (Mentioned above)
Should Be run in Bot
start - Check alive
Create config.py with variables as given below Refer sample.config
class Config(object):
TG_BOT_TOKEN = "134448596:AAEIyo3EBVCN3qdd3TfrmQUxoI-eZVGvmI"
APP_ID = int(123635)
API_HASH = "1a417dd4fdf3ead2819ff35641daa16b"
TG_USER_SESSION = "BQDGRUC0_qw2GVQ2gpLFaXOt0mrWg16cBZPATQvR8KThDzi-NRE1I9DB......"
𝘾𝙡𝙞𝙘𝙠 𝙃𝙀𝙍𝙀 𝙩𝙤 𝙜𝙚𝙣𝙚𝙧𝙖𝙩𝙚 𝙖 𝙪𝙨𝙚𝙧 𝙨𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣
virtualenv -p python3 venv
. ./venv/bin/activate
pip3 install -r requirements.txt
python3 main.py