WIP
- docs preview at https://python-telegram-bot.readthedocs.io/en/api-5.2/
- new parameter for
InlineQueryHandleris up for discussion, see https://t.me/c/1494805131/14941
In addition to a warning about start_parameter getting optional in send_invoice, the two TG-Warnings schould be included in the release notes:
⚠️ WARNING! ⚠️
After the next Bot API update (Bot API 5.3) there will be a one-time change of the value of the field file_unique_id in objects of the type PhotoSize and of the fields small_file_unique_id and big_file_unique_id in objects of the type ChatPhoto.
⚠️ WARNING! ⚠️
Service messages about non-bot users joining the chat will be soon removed from large groups. We recommend using the “chat_member” update as a replacement.
Checklist for PRs
- Added
.. versionadded:: version,.. versionchanged:: versionor.. deprecated:: versionto the docstrings for user facing changes (for methods/class descriptions, arguments and attributes) - Created new or adapted existing unit tests
- Added myself alphabetically to
AUTHORS.rst(optional)
If the PR contains API changes (otherwise, you can delete this passage)
-
New classes:
- Added
self._id_attrsand corresponding documentation -
__init__accepts**_kwargs
- Added
-
Added new shortcuts:
- In
Chat&Userfor all methods that acceptchat/user_id - In
Messagefor all methods that acceptchat_idandmessage_id - For new
Messageshortcuts: Addedquoteargument if methods acceptsreply_to_message_id - In
CallbackQueryfor all methods that accept eitherchat_idandmessage_idorinline_message_id
- In
-
If relevant:
- Added new constants at
telegram.constantsand shortcuts to them as class variables - Added new handlers for new update types
- Added new filters for new message (sub)types
- Added or updated documentation for the changed class(es) and/or method(s)
- Updated the Bot API version number in all places:
README.rstandREADME_RAW.rst(including the badge), as well astelegram.constants.BOT_API_VERSION
- Added new constants at