(Version 3.10.12 Works Flawlessly)
To deploy this project run
sudo apt update && apt upgrade
git clone https://github.com/IroshanBrian/file-upload-telegram-bot
cd file-upload-telegram-bot
pip3 install -r requirements.txt
You have to configure the example.env
Token= !Your telegram bot token
FOLDER_DIR=!Your server folder path
file and rename it to .env
Run the python file
python3 main.py
In the telegram chat use this commands:
/start - Start the bot
/help - Show this help message
/list- List of the files in the folder
/download - Download a file from the bot
/downloadAll - Download all files in the folder
For support, email dev.iroshanbrian@gmail.com.