Telegram Bot to generate Pyrogram and Telethon String Session.
A star ⭐ from you means a lot to us!
- Tap on above button and fill
API_ID
,API_HASH
,BOT_TOKEN
(andMUST_JOIN
). - Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
- After deploying is complete, tap on "Manage App"
- Check the logs to see if your bot is ready!
-
Clone the repo
git clone https://github.com/Wahyu213/String-Session-Bot
-
Get a DATABASE_URL. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion.
-
Edit
Config.py
and fill the needed variables -
Enter the directory
cd StringSessionBot
-
Run the file
python3 generator.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.