Telegram bot to generate pyrogram and telethon string session.
Clone the repo
git clone https://github.com/SayaProject/StringSessionBotGet a
DATABASE_URL. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion.Rename
.env.sampleto.envand fill the needed variablesEnter the directory
cd StringSessionBot
Install all the dependencies
pip install -r requirements.txt
Run the file
python3 bot.py
API_ID- Get this from my.telegram.orgAPI_HASH- Get this from my.telegram.orgBOT_TOKEN- Get this from @BotFatherDATABASE_URL- Will be automatically added by Heroku.MUST_JOIN- Username/ID of your telegram channel/group.
- Generate Pyrogram user string session
- Generate Pyrogram bot string session
- Generate Pyrogram (Major) Version 1 and 2 string sessions
- Generate Telethon string session