The ultimate solution for managing your Telegram unlimited cloud storage.
-
You must create a Telegram bot using @BotFather and get the bot token.
-
You also need to create a Telegram application here and get Telegram api_id and api_hash.
-
Use the
api/generate_telegram_bot_session.py
script for generating a Telegram bot session. -
Fill below environments variables with the values you got in the previous steps:
# API TELEGRAM_API_ID= TELEGRAM_API_HASH= TELEGRAM_BOT_TOKEN= TELEGRAM_BOT_SESSION= # Web REACT_APP_TELEGRAM_BOT_NAME=
-
Add
teledrive.local
as your bot domain in Telegram. -
Add the below record to your
/etc/hosts
file:127.0.0.1 teledrive.local
- https://github.com/tdlib/telegram-bot-api
- https://core.telegram.org/api/obtaining_api_id
- https://github.com/LonamiWebs/Telethon/wiki/MTProto-vs-HTTP-Bot-API
- https://docs.telethon.dev/en/stable/concepts/botapi-vs-mtproto.html#botapi
If you found this project useful, please consider supporting its development with a donation in ETH to the following address:
0xcAA98CD5BA25AE1fA064813B41952d0716892381
Your donation will help cover the costs of maintaining and improving this project, as well as motivate me to continue working on it.
Thank you for your support!