Rename BusinessBotRights.can_delete_sent_messages
to BusinessBotRights.can_delete_outgoing_messages
#4844
+22
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on https://t.me/bot_api_changes/244
Awaiting confirmation from manual testing by @harshil
Note that I did not make this change backward compatible. Our stability policy does say that we keep API functionality available for the current and the next major version of PTB or until the next version of the Bot API. However, as this change is more of a Bot API bug-fix without proper deprecation note or even changelog, I find it hard to put it into this category. Please let me know if you see an issue with this.