- 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
- Documented code changes according to the CSI standard
- Added myself alphabetically to
AUTHORS.rst(optional) - Added new classes & modules to the docs and all suitable
__all__s
-
New classes:
- Added
self._id_attrsand corresponding documentation -
__init__acceptsapi_kwargsas kw-only
- 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 - Link new and existing constants in docstrings instead of hard coded number and strings
- Add new message types to
Message.effective_attachment - Added new handlers for new update types
- Add the handlers to the warning loop in the
ConversationHandler
- Add the handlers to the warning loop in the
- Added new filters for new message (sub)types
- Added or updated documentation for the changed class(es) and/or method(s)
- Added the new method(s) to
_extbot.py - Added or updated
bot_methods.rst - Updated the Bot API version number in all places:
README.rstandREADME_RAW.rst(including the badge), as well astelegram.constants.BOT_API_VERSION_INFO - Added logic for arbitrary callback data in
tg.ext.Botfor new methods that either accept areply_markupin some form or have a return type that is/containstelegram.Message
- Added new constants at