Skip to content

Conversation

@Poolitzer
Copy link
Member

closes #4350

:attr:`paid_media` is now also considered to be an attachment.
.. deprecated:: NEXT.VERSION
:attr:`successful_payment` will be removed in future major versions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "major" is a bit confusing to me. Will it still be considered in minor version? same below.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took that wording from https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram%2F_passport%2Fpassportfile.py#L112

My understanding is that related to the stability policy the "next" major version removes it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, (git and) I will blame harshil, then :D I understand what it's supposed to mean, just stumbled on it on first read … If you like to keep it this way, I'll just merge :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could rename both to mention the specific major version we drop the features?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, I prefer not to mention specific versions beforehand - just gives use more freedom in case we need it …

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then Id stick with this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea I put "major" versions cause of the stability policy

@Bibo-Joshi Bibo-Joshi merged commit 1714bfd into master Jul 9, 2024
@Bibo-Joshi Bibo-Joshi deleted the deprecate-payment-attachement branch July 9, 2024 21:33
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Discussion] What is an attachment

4 participants