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.main.test_token(bot_token)
from tele_upload.main import test_token
test_token(bot_token) # bot_token type str
tele_upload.main.uploadd_file(bot_token, chat_id, file_name)
from tele_upload.main import uploadd_file
uploadd_file(bot_token, chat_id, file_name) # all arguments must be str
Metadata
Release files for tele-upload 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tele-upload-0.0.2.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tele_upload-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / tele-upload-0.0.2.tar.gz
| Download URL | tele-upload-0.0.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d53da682dc33194bdc480ccef7d24876de2c132b11b34b50197d4a5911ce9a4c
|
|
BLAKE2b-256 checksum How to use checksums |
e98a55ab8ba7ccb8773a1a8b4ae6d64f69173dbf72be1ea339dabbd20064d0f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / tele_upload-0.0.2-py3-none-any.whl
| Download URL | tele_upload-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8342ff06c4396068fb68438911a28e1cf8e7f90faef0f10791e5d2b88c25c99c
|
|
BLAKE2b-256 checksum How to use checksums |
1cb8aa558144d4d2ed895718e397175f316e08ee803b64f8e21dc5d9de0fe627
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|