From 8394a484f3602d0de3b7443fa13bd17e6b36d78e Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Fri, 3 Apr 2026 21:53:17 -0700 Subject: [PATCH 1/4] Bump Bot API version to 9.6 --- README.rst | 4 ++-- src/telegram/constants.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index bfdedc88a0b..84f80c9bb4f 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ :target: https://pypi.org/project/python-telegram-bot/ :alt: Supported Python versions -.. image:: https://img.shields.io/badge/Bot%20API-9.5-blue?logo=telegram +.. image:: https://img.shields.io/badge/Bot%20API-9.6-blue?logo=telegram :target: https://core.telegram.org/bots/api-changelog :alt: Supported Bot API version @@ -77,7 +77,7 @@ After installing_ the library, be sure to check out the section on `working with Telegram API support ~~~~~~~~~~~~~~~~~~~~ -All types and methods of the Telegram Bot API **9.5** are natively supported by this library. +All types and methods of the Telegram Bot API **9.6** are natively supported by this library. In addition, Bot API functionality not yet natively included can still be used as described `in our wiki `_. Notable Features diff --git a/src/telegram/constants.py b/src/telegram/constants.py index 3ae66ff0b4b..4017d77b273 100644 --- a/src/telegram/constants.py +++ b/src/telegram/constants.py @@ -181,7 +181,7 @@ class _AccentColor(NamedTuple): #: :data:`telegram.__bot_api_version_info__`. #: #: .. versionadded:: 20.0 -BOT_API_VERSION_INFO: Final[_BotAPIVersion] = _BotAPIVersion(major=9, minor=5) +BOT_API_VERSION_INFO: Final[_BotAPIVersion] = _BotAPIVersion(major=9, minor=6) #: :obj:`str`: Telegram Bot API #: version supported by this version of `python-telegram-bot`. Also available as #: :data:`telegram.__bot_api_version__`. From ffecae9cf5647a8066b313ec8a5b45d4d2af30d5 Mon Sep 17 00:00:00 2001 From: harshil21 <37377066+harshil21@users.noreply.github.com> Date: Sat, 4 Apr 2026 04:55:31 +0000 Subject: [PATCH 2/4] Add chango fragment for PR #5196 --- changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml diff --git a/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml b/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml new file mode 100644 index 00000000000..f5e17d4abeb --- /dev/null +++ b/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml @@ -0,0 +1,5 @@ +features = "Full Support for Bot API 9.6" +[[pull_requests]] +uid = "5196" +author_uids = ["harshil21"] +closes_threads = [] From 8ababc5abf1ae547b27e7d7875b03eeddb03c17d Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Sun, 5 Apr 2026 02:22:44 -0700 Subject: [PATCH 3/4] Reformat changelog --- changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml b/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml index f5e17d4abeb..463900eab38 100644 --- a/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml +++ b/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml @@ -1,5 +1,5 @@ features = "Full Support for Bot API 9.6" -[[pull_requests]] -uid = "5196" -author_uids = ["harshil21"] -closes_threads = [] + +pull_requests = [ + { uid = 5196, author_uid = "harshil21" }, +] From 7a09c122292feb0194d4492a620f34e790ec082a Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Sun, 5 Apr 2026 02:29:22 -0700 Subject: [PATCH 4/4] strings, not ints --- changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml b/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml index 463900eab38..42967044f4d 100644 --- a/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml +++ b/changes/unreleased/5196.7keq7yJhXbMb9RyShLHz4D.toml @@ -1,5 +1,5 @@ features = "Full Support for Bot API 9.6" pull_requests = [ - { uid = 5196, author_uid = "harshil21" }, + { uid = "5196", author_uid = "harshil21" }, ]