
To minimize dependency conflicts, we try to be liberal in terms of version requirements on the (optional) dependencies. Python-telegram-bot is most useful when used along with additional libraries. Provides greater performance and stability, specially for concurrent requests. The only required dependency is httpx ~= 0.23.3 for This allows to avoid unnecessary dependency conflicts for users who don’t need the optional features. Instead, they are listed as optional dependencies. However, for some features using a 3rd party library is more sane than implementing the functionality again.Īs these features are optional, the corresponding 3rd party dependencies are not installed by default. Python-telegram-bot tries to use as few 3rd party dependencies as possible. This allows you to verify that a release file that you downloaded was indeed provided by the python-telegram-bot team. In addition, the GitHub release page also contains the sha1 hashes of the release files in the files with the suffix. The keys are named in the format -.gpg or -current.gpg if the key is currently being used for new releases. The signatures are uploaded to both the GitHub releases page and the PyPI project and end with a suffix. $ git clone $ cd python-telegram-bot $ python setup.py install Verifying Releases You can also install python-telegram-bot from source, though this is usually not necessary. To install a pre-release, use the -pre flag in addition. You can install or upgrade python-telegram-bot via $ pip install python-telegram-bot -upgrade Telegram API supportĪll types and methods of the Telegram Bot API 6.5 are supported. Installing both python-telegram-bot and python-telegram-bot-raw in conjunction will result in undesired side-effects, so only install one of both. These classes are contained in theĪ pure API implementation without telegram.ext is available as the standalone package python-telegram-bot-raw. Make the development of bots easy and straightforward. In addition to the pure API implementation, this library features a number of high-level classes to

It’s compatible with Python versions 3.7+.

This library provides a pure Python, asynchronous interface for the Stay tuned for library updates and new releases on our Telegram Channel. We have a vibrant community of developers helping each other in our Telegram group. We have made you a wrapper you can’t refuse
