Just updated the repo ✨ I've created telegram.py
housing all functions for easier usage.
Check out 🤖 MyOTP!
telegram bot for easy login using a Telethon session string.
- Create Telethon and Pyrogram sessions.
- Login to telegram app using Telethon session file.
- Update 2FA and more.
- Download
telegram.py
andrequirements.txt
from this repository. - Open your terminal or command prompt. Use
cd
to navigate to the directory where you’ve saved the downloaded files. - Run the following command to install dependencies from the
requirements.txt
file:
pip install -r requirements.txt
- Make sure that both the
telegram.py
and therequirements.txt
are located in the same directory as your main script.
Once installed, you can import and use all the available functions from the telegram.py
in your project. See example file how to import it.