Added full support for the Bot API 9.2#1720
Conversation
✔️ Changelog found.Thank you for adding a description of the changes |
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive support for Telegram Bot API 9.2, specifically implementing suggested posts functionality for channel direct messages along with related channel management features.
- Adds new types and methods for managing suggested posts in channel direct messages
- Implements approval and decline functionality for suggested posts with payment handling
- Updates existing methods to support direct messages topics and suggested post parameters
- Enhances chat administrator rights with direct messages management capability
Reviewed Changes
Copilot reviewed 158 out of 162 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Tests | Adds test coverage for new suggested post message types and approval/decline methods |
| Documentation | Creates RST documentation files for all new suggested post types and methods |
| Types | Implements suggested post related types (approved, declined, paid, refunded, etc.) and updates existing types |
| Methods | Adds approve/decline suggested post methods and updates send methods with direct messages support |
| Enums | Adds new content types for suggested post states |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
|
||
| class SuggestedPostPrice(TelegramObject): | ||
| """ | ||
| Desribes price of a suggested post. |
There was a problem hiding this comment.
There is a typo in the docstring. 'Desribes' should be 'Describes'.
| Desribes price of a suggested post. | |
| Describes price of a suggested post. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev-3.x #1720 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 578 589 +11
Lines 13531 13783 +252
==========================================
+ Hits 13531 13783 +252
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Added full support for the Bot API 9.2