Tele-Upload
Upload files to your Telegram channel or group with your telegram bot
Features
- Progress bar
- You can change file name before upload on telegram
Note : Bot can upload only 50 MB file
Installation
pip3 install tele-upload
Usage
tele-upload setup # setup your telegram credentials
tele-upload reset # reset to default your telegram credentials
tele-upload test # test telegram bot token
tele-upload up {file_name} # upload Telegram channel or group
tele-upload d {url} # download and upload Telegram channel or group
API
The anonfile-upload client is also usable through an API (for test integration, automation, etc)
tele_upload.test_token(bot_token)
from tele_upload import test_token
test_token(bot_token) # bot_token type str
tele_upload.uploadd_file(bot_token, chat_id, file_name)
from tele_upload import uploadd_file
uploadd_file(bot_token, chat_id, file_name) # all arguments must be str