Skip to main content

Simplify downloading files from Telegram for PyTelegramBotAPI

Project description

Simplify Downloading Files From Telegram For PyTelegramBotAPI

This is my first package. I hope - not last!

You can use this package for downloading files from Telegram.

Install

You can pip for it

pip install Simplify_downloading_files_TG

How to use?

This package has 2 procedure(getphoto and getdocument).

GETPHOTO(token, bot, message, filename, *dir)

This procedure request 4 required parameters and 1 not required.

Token is token for your telegram bot
Bot is your class instance from telebot module
Message is message with photo
Filename is filename from saving photo
And *dir is if you need to save in another directory

and GETDOCUMENT(token, bot, message, filename, *dir) has same parameters

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

Simplify_downloading_files_TG-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file Simplify_downloading_files_TG-0.0.1.tar.gz.

File metadata

  • Download URL: Simplify_downloading_files_TG-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for Simplify_downloading_files_TG-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a81b8c2684dedd51b09723f9cd34abc760b081acf548c5deb3b04b6cbb96ca01
MD5 0030a787feb321a1465dd89268427cdd
BLAKE2b-256 f640d3155c32be38f7ed7e41f4fa5e67b9b0437433e5fe37fdbc5e1351f5e414

See more details on using hashes here.

File details

Details for the file Simplify_downloading_files_TG-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Simplify_downloading_files_TG-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for Simplify_downloading_files_TG-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 270fe147d487d302fb77b656c84f55ebb66f3d257d8faa4c1d60c660ea580c39
MD5 45957814a9f48084a726eefce6594bbc
BLAKE2b-256 fd2a926d3e8afcb7527fad0f7bd97c9e44f79763995b3bebe8ac54dcf6a3758f

See more details on using hashes here.

Supported by

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