Skip to content

Remove Functionality Deprecated in API 9.0 #4852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 5, 2025

Conversation

aelkheir
Copy link
Member

@aelkheir aelkheir commented Jul 4, 2025

Follow up for #4754.

Relevant API 9.0 items:

Other:

  • Remove deprecated NANOSTAR constants.
  • Fix tests

aelkheir added 6 commits July 4, 2025 03:22
* Remove argument and attribute `can_reply`.
* Make argument `is_enabled` required in `__init__` signature.

Relevant API 9.0 item:
* Added the class `BusinessBotRights` and replaced the field `can_reply`
  with the field `rights` of the type `BusinessBotRights` in the class
  `BusinessConnection`.
* Remove argument and attribute `can_send_gift`
* Make argument `accepted_gift_types` required in `__init__` signature.

Relevant API 9.0 item:
* Replaced the field `can_send_gift` with the field `accepted_gift_types`
  of the type `AcceptedGiftTypes` in the class `ChatFullInfo`.
Relevant API 9.0 item:
* Added the field transaction_type to the class TransactionPartnerUser,
  simplifying the differentiation and processing of all transaction
  types.
@aelkheir aelkheir added the 📋 pending-review work status: pending-review label Jul 4, 2025
Copy link
Member

@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

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

lgtm :shipit:

@Bibo-Joshi Bibo-Joshi merged commit cedfc99 into master Jul 5, 2025
48 of 50 checks passed
@Bibo-Joshi Bibo-Joshi deleted the remove-api-9.0-deprecations branch July 5, 2025 11:05
@Bibo-Joshi Bibo-Joshi added ⚙️ bot-api affected functionality: bot-api 🛠 breaking change type: breaking and removed 📋 pending-review work status: pending-review labels Jul 5, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⚙️ bot-api affected functionality: bot-api 🛠 breaking change type: breaking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy