A Telegram bot to upload files from Telegram or Direct links to Google Drive.
apt install -y git python3 ffmpeg
git clone https://github.com/viperadnan-git/google-drive-telegram-bot
cd google-drive-telegram-bot
pip3 install -r requirements.txt
There are two Ways for configuring this bot.
ENV
var to Anything to enable it.ENV
environment variables existing.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.DATABASE_URL
- Postgres database url.DOWNLOAD_DIRECTORY
- Custom path for downloads. Must end with a forward /
slash. (Default to ./downloads/
)python3 -m bot