Skip to main content

upload files to your telegram channel or group with ypur telegram bot

Project description

Tele-Upload

Upload files to your Telegram channel or group with your telegram bot

PyPI version Downloads Downloads GitHub Contributors GitHub commit activity GitHub last commit Python 3.6

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tele-upload-0.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

tele_upload-0.0.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file tele-upload-0.0.2.tar.gz.

File metadata

  • Download URL: tele-upload-0.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for tele-upload-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d53da682dc33194bdc480ccef7d24876de2c132b11b34b50197d4a5911ce9a4c
MD5 2cbcc5ff61611025023aca7f623253eb
BLAKE2b-256 e98a55ab8ba7ccb8773a1a8b4ae6d64f69173dbf72be1ea339dabbd20064d0f9

See more details on using hashes here.

File details

Details for the file tele_upload-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tele_upload-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for tele_upload-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8342ff06c4396068fb68438911a28e1cf8e7f90faef0f10791e5d2b88c25c99c
MD5 b8d608d14978f02df08efd4b35436466
BLAKE2b-256 1cb8aa558144d4d2ed895718e397175f316e08ee803b64f8e21dc5d9de0fe627

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page