This Python script allows you to generate Telegram session strings using both Telethon and Pyrogram. You can choose the desired option and save the session string to a file.
Follow these instructions to set up and use the session generator.
Please Choose an Option:
1. Generate Telethon Session
2. Generate Pyrogram V2 Session
3. Generate Hydrogram Session
Enter your choice (1/2/3):
2.Enter Your phone number or bot token:
3.Enter your received otp:
4.Enter your two steps code:(if your account have two steps ask other wise dont ask.)
Done congrats your session saved in your saved messages.
- Python 3
- Black Cat Server (Code making from scratch)
- Telethon (for generating Telethon session)
- Pyrogram (for generating Pyrogram session)
git clone https://github.com/bcncalling/bcn_string
cd bcn_string
pip3 install -r requirements.txt
python3 generate.py
Remember when generating your Telethon session, your account may be banned! It's advisable to use a fake account for session generation.
Stay safe.
Black cat network