python-telegram-bot
16.5K subscribers
1 photo
96 links
The official channel for the python-telegram-bot library | https://python-telegram-bot.org
Download Telegram
We've just released v21.11.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

This release brings full support for Bot API 8.3. It also removes functionality deprecated in Bot API 8.2 and 7.4. This is in line with our stability policy.
The extended customization support for Bot.base_(file_)url makes it possible to use use Telegrams testing environment with PTB. Moreover, the built-in AIORateLimiter now respects the allow_paid_broadcast parameter.

For the full list of changes and improvements, please see the below changelog.

Major Changes and New Features

• Full Support for Bot API 8.3 (#4676 closes #4677, #4682 by aelkheir, #4690 by aelkheir, #4691 by aelkheir)
• Make provider_token Argument Optional (#4689)
• Remove Deprecated InlineQueryResultArticle.hide_url (#4640 closes #4638)
• Accept datetime.timedelta Input in Bot Method Parameters (#4651)
• Extend Customization Support for Bot.base_(file_)url (#4632 closes #3355)
• Support allow_paid_broadcast in AIORateLimiter (#4627 closes #4578)
• Add BaseUpdateProcessor.current_concurrent_updates (#4626 closes #3984)

Minor Changes and Bug Fixes

• Add Bootstrapping Logic to Application.run_* (#4673 closes #4657)
• Fix a Bug in edit_user_star_subscription (#4681 by vavasik800)
• Simplify Handling of Empty Data in TelegramObject.de_json and Friends (#4617 closes #4614)

Documentation Improvements

• Documentation Improvements (#4641)
• Overhaul Admonition Insertion in Documentation (#4462 closes #4414)

Internal Changes

• Stabilize Linkcheck Test (#4693)
• Bump pre-commit Hooks to Latest Versions (#4643)
• Refactor Tests for TelegramObject Classes with Subclasses (#4654 closes #4652)
• Use Fine Grained Permissions for GitHub Actions Workflows (#4668)

Dependency Updates

• Bump actions/setup-python from 5.3.0 to 5.4.0 (#4665)
• Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 (#4666)
• Bump actions/stale from 9.0.0 to 9.1.0 (#4667)
• Bump astral-sh/setup-uv from 5.1.0 to 5.2.2 (#4664)
• Bump codecov/test-results-action from 1.0.1 to 1.0.2 (#4663)
32👍14🤩4
We've just released v21.11.1.
As usual, upgrade using pip install -U python-telegram-bot.

This is a bug fix release that restores the documentation at https://docs.python-telegram-bot.org.

Documentation Improvements

• Fix ReadTheDocs Build (#4695)
🎉21🤣1210👍98🆒3🌚2
We've just released v22.0.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.
🎉43👍34🔥12👏6🆒543🗿32🍌1
We've just released v22.1.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.
🤪37🆒11🌚10👍9❤‍🔥7🤯7😍5👀5🎉3🔥2😈2
We've just released v22.2.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.
🎉239👍7🆒3🥰2🎅1
Dear PTB community,

10 years ago today a cool guy named Leandro published the first release of the python-telegram-bot library to PyPI - only one day after making the first commit on GitHub. Since then, this library has made an incredible journey.

Over 230 contributors have worked on the code of the library in almost 3000 individual commits, bringing to live a full 151 releases. As the current development team, we are pround to be serving this library to you! With more than 150k dependents and almost 28k stars on GitHub, roughly 29 million monthly downloads, over 11k members in our support group and over 16k members in our channel we dare say that python-telegram-bot has grown to have a large and healthy user community. This makes us extremely happy and we are looking forward to creating new releases for your!

Thank you for choosing python-telegram-bot, for your continued support and for sticking with us - now and for the next 10 years!

Your
PTB Dev Team
🎉20083👍14❤‍🔥11👏8🔥7🤩3🍌3🏆3🕊2🆒2
We've just released v22.3.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.
2819👍11❤‍🔥7🔥74
We've just released v22.4.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.
🔥28106💋3❤‍🔥1
We've just released v22.5.
Thank you to everyone who contributed to this release.
As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.
❤‍🔥27👍8💋6👏5🫡2🤷2👀1