Latest posts

python-telegram-bot
12 Jun, 08:15edited
We've just released v22.8, bringing full support for API 9.6 & 10.0Thank you to everyone who contributed to this release. Especially thanks to Phil9l, karin0, gistrec, Krishna Chaitanya Balusu who contributed for the first time.As usual, upgrade using pip install -U python-telegram-bot.The release notes can be found here.
python-telegram-bot
16 Mar, 09:43edited
We've just released v22.7, bringing full support for API 9.4 & 9.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.Personal message from @BiboJoshiWith this release, I am stepping down as maintainer and passing the torch to @Hoppingturtles and @Poolitzer, who have already been in charge of this release. For more than 6 years, I've had the pleasure of working on PTB and with the community. However, due to shifting personal circumstances, I no longer see myself in the position to lead the development of PTB. That is not to say that I no longer care about the project. On the contrary, I'm hoping to see it thrive. I wish all the best for the new maintainers and future team members and hope that the community supports them as it did me.
python-telegram-bot
24 Jan, 14:05
We've just released v22.6. 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.
python-telegram-bot
27 Sept 2025, 13:59
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.
python-telegram-bot
13 Sept 2025, 15:23
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.
python-telegram-bot
20 Jul 2025, 20:18
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.
python-telegram-bot
8 Jul 2025, 10:01edited
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


python-telegram-bot
29 Jun 2025, 18:07
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.
python-telegram-bot
15 May 2025, 20:32edited
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.
python-telegram-bot
15 Mar 2025, 09:08
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.
python-telegram-bot
9 Mar 2025, 08:14edited
Unfortunately, our call for maintainers for ptbtest was not successful. We therefore decided that the first person who reaches out to us and wants to take over maintenance of ptbtest will be granted the corresponding access rights and ownerships. We still
python-telegram-bot
1 Mar 2025, 11:49
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)
python-telegram-bot
1 Mar 2025, 11:07edited
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
python-telegram-bot
3 Jan 2025, 11:17
We've just released v21.10. 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.2 and includes a bug fix for the deserialization of Gift and Gifts. Moreover, with the update of the optional apscheduler dependency used for the JobQueue, we have deprecated support for pytz timezones. Please switch to using zoneinfo.ZoneInfo timezones after upgrading.For the full list of changes and improvements, please see the below changelog.Major Changes• Full Support for Bot API 8.2 (#4633) • Bump apscheduler & Deprecate pytz Support (#4582)New Features• Add Parameter pattern to JobQueue.jobs() (#4613 closes #4544) • Allow Input of Type Sticker for Several Methods (#4616 closes #4580)
python-telegram-bot
7 Dec 2024, 12:47
We've just released v21.9. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot.For the full list of changes and improvements, please see the below changelog.Major Changes• Full Support for Bot API 8.1 (#4594 closes #4592)Minor Changes• Use MessageLimit.DEEP_LINK_LENGTH in helpers.create_deep_linked_url (#4597 by nemacysts) • Allow Sequence Input for allowed_updates in Application and Updater Methods (#4589 by nemacysts)Dependency Updates• Update aiolimiter requirement from ~=1.1.0 to >=1.1,<1.3 (#4595) • Bump pytest from 8.3.3 to 8.3.4 (#4596) • Bump codecov/codecov-action from 4 to 5 (#4585)
python-telegram-bot
1 Dec 2024, 11:25
We've just released v21.8. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot.For the full list of changes and improvements, please see the below changelog.Major Changes• Full Support for Bot API 8.0 (#4568, #4566 closes #4567, #4572, #4571, #4570, #4576, #4574)Documentation Improvements• Documentation Improvements (#4565 by Snehashish06, #4573)
python-telegram-bot
4 Nov 2024, 20:35
We've just released v21.7. 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 7.11. Moreover, it removes support for Python 3.8, which reached EOL on September 6th, 2024 and adds stable support for Python 3.13. This is in line with our stability policy.For the full list of changes and improvements, please see the below changelog.Major Changes• Full Support for Bot API 7.11 (#4546 closes #4543) • Add Message.reply_paid_media (#4551) • Drop Support for Python 3.8 (#4398 by elpekenin)Minor Changes• Allow Sequence in Application.add_handlers (#4531 by roast-lord closes #4530) • Improve Exception Handling in File.download_ (#4542)
python-telegram-bot
19 Sept 2024, 18:22
We've just released v21.6. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot.This release brings support for Bot API 7.10 and allows further customization of HTTPXRequest.For the full list of changes and improvements, please see the below changelog.New Features• Full Support for Bot API 7.10 (#4461 closes #4459, #4460, #4463 by aelkheir, #4464) • Add Parameter httpx_kwargs to HTTPXRequest (#4451 closes #4424)Minor Changes• Improve Type Completeness (#4466)Internal Changes• Update Python 3.13 Test Suite to RC2 (#4471)
python-telegram-bot
1 Sept 2024, 13:39
We've just released v21.5. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot.This release brings support for Bot API 7.8 and 7.9. The new parameter read_file_handle of InputFile was added to support special use cases with local API servers. Moreover, building up on v21.4, additional convenience methods for MessageEntity were added.Finally, we would like to point out that Python 3.8 will be reaching its end of life some time in October. python-telegram-bot will drop support for Python 3.8 after that. If you're still using Python 3.8, please consider upgrading to a newer version.For the full list of changes and improvements, please see the below changelog.Major Changes• Full Support for Bot API 7.9 (#4429) • Full Support for Bot API 7.8 (#4408)New Features• Add MessageEntity.shift_entities and
python-telegram-bot
12 Jul 2024, 15:53
We've just released v21.4. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot.This release brings support for Bot API versions 7.5, 7.6, and 7.7. Moreover, we have added initial support for Python 3.13 Beta and a new convenience helper for working with MessageEntity objects containing UTF-16 encoded characters.For the full list of changes and improvements, please see the below changelog.Major Changes• Full Support for API 7.5 (#4328, #4316, #4315, #4312 closes #4310, #4311) • Full Support for API 7.6 (#4333 closes #4331, #4344, #4341, #4334, #4335, #4351, #4342, #4348) • Full Support for API 7.7 (#4356 closes #4355) • Drop python-telegram-bot-raw And Switch to pyproject.toml Based Packaging (#4288 closes #4129 and #4296) • Deprecate Inclusion of successful_payment in Message.effective_attachment (#4365 closes #4350)
Related Channels
Other channels in the same section of the catalogue.
