A Telegram bot to upload files from Telegram or Direct links to Google Drive.
- Find it on Telegram as Google Drive Uploader
- Telegram files support.
- Direct Links support.
- Custom Upload Folder.
- TeamDrive Support.
- Clone/Copy Google Drive Files.
- Handle more exceptions.
- LOGGER support.
- Service account support.
- Delete Google Drive Files.
- Empty Google Drive trash.
Deploy on Heroku
- Note: Bot is in beta stage. Maybe throw some errors.
- Clone this git repository.
git clone https://github.com/viperadnan-git/gdrive-telegram-bot
- Change Directory
cd gdrive-telegram-bot
- Install requirements with pip3
pip3 install -r requirements.txt
There are two Ways for configuring this bot.
- Add values to Environment Variables
- Add values in config.py
BOT_TOKEN
- Get it by contacting to BotFatherAPP_ID
- Get it by creating app on my.telegram.orgAPI_HASH
- Get it by creating app on my.telegram.orgSUDO_USERS
- List of Telegram User ID of sudo users, seperated by space.SUPPORT_CHAT_LINK
- Telegram invite link of support chat.
python3 -m bot
- Dan for creating PyroGram
- Spechide for gDrive_sql.py
- Shivam Jha for Clone Feature from python-aria-mirror-bot
- Copyright (©) 2020 by Adnan Ahmad
- Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007