We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contactedThis page is an addition to the stability policy and is intended to be a helpful reference for the developers when working on Bot API updates that introudce backward incompatible changes.
A few cases can happen when Telegram makes changes to arguments of classes and methods. Here are a few hints on how these can be handled in a compatible way that is backward compatible or at least minimizes the impact of the change. Whether these hints are applied or the change is just implemented in a breaking way may be decided by the dev team on a case-by-case basis. This depends e.g. on the currently available capacity.
Optional arguments become mandatory
That way it's still a breaking change, but at least passed values are not randomly assigned to the wrong argument.
New positional argument is added and changes the order of the arguments
Optional argument is renamed
Mandatory argument is renamed / becomes optional
Wiki of python-telegram-bot © Copyright 2015-2026 – Licensed by Creative Commons