Skip to content

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.

4 participants