Conversation
16 tasks
# Conflicts: # changes/unreleased/4847.8ujbbBbaZ2VTEdRLeqirSZ.toml
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds support for Bot API 9.1 “Checklist” types across the library, including models, filters, docs, and tests.
- Introduce new TelegramObject classes: Checklist, ChecklistTask, ChecklistTasksAdded, ChecklistTasksDone
- Expose checklist fields in
MessageandExternalReplyInfo, update filters and changelog - Add comprehensive tests and Sphinx docs for the new classes
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_reply.py | Added checklist to ExternalReplyInfo tests |
| tests/test_message.py | Included checklist and tasks fixtures in message tests |
| tests/test_checklists.py | New tests for Checklist, ChecklistTask, and service messages |
| tests/ext/test_filters.py | Tests for filters.CHECKLIST and task‐based status filters |
| src/telegram/ext/filters.py | Added CHECKLIST and status filters for checklist events |
| src/telegram/_reply.py | Exposed checklist in ExternalReplyInfo |
| src/telegram/_message.py | Added checklist* fields to Message |
| src/telegram/_checklists.py | Implemented Checklist models |
| src/telegram/init.py | Public exports for new classes |
| docs/source/telegram.checklist*.rst | Documentation for Checklist and related classes |
| docs/source/telegram.at-tree.rst | Added checklist types to the type tree |
| changes/unreleased/4847*.toml | Updated changelog for checklist features |
Comments suppressed due to low confidence (1)
docs/source/telegram.at-tree.rst:35
- [nitpick] Add a dedicated documentation file for
ChecklistTask(e.g.,telegram.checklisttask.rst) so its members are fully documented alongside the other checklist types.
telegram.checklisttask
25 tasks
aelkheir
requested changes
Jul 5, 2025
Member
aelkheir
left a comment
There was a problem hiding this comment.
Changes look good 🎊! Only a few docs fixes.
harshil21
approved these changes
Jul 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.