This little script will allow you to generate an SessionID for use in Telegram bots.
- Python
- Pyrogram - script will check for it and auto install it via pip if needed. Make sure to have the newest version or you may run into errors
- pip
- A working brain (very important)
- Download the gen.py script from this repo.
- Install python and pip (if not already done)
- Go to the location where you saved the script and run it with:
python3 gen.py
- Enter your details (API ID & API HASH) - you can get them from the Telegram page.
- Enter phone number (and your 2FA pass if you have one) then the login code. If everything goes right you should get an session id printed in your terminal. You should also see a new session pop up in telegram itself.
- Use your ID. Make sure to never share it!
- I am not responsible for your actions or your bots
- Do not use the script to steal accounts
- Do not abuse the Telegram API - They will ban you fast
- Login into Telegram
- Go to your active sessions
- Remove the infected session
- Easy to use
- Install requiremnts script (for those who cant install pyrogram by themselfs)
- Better design
- First Release
- Better Code...
- GUI for not so techy users
- Start working on making it look more professional