Skip to content
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

Added MediaGroupBuilder for media group construction #1293

Merged
merged 1 commit into from Sep 2, 2023

Conversation

JrooTJunior
Copy link
Member

Description

Implemented a MediaGroupBuilder class in 'aiogram/utils/media_group.py' to help construct media groups. The class supports addition of different media types (audio, photo, video, document) to the media group with a maximum limit of 10 files. The functionality is demonstrated and usage is documented in 'docs/utils/media_group.rst'. Added related test cases in 'tests/test_utils/test_media_group.py'. This is to streamline and simplify the process of media group creation

Implemented a MediaGroupBuilder class in 'aiogram/utils/media_group.py' to help construct media groups. The class supports addition of different media types (audio, photo, video, document) to the media group with a maximum limit of 10 files. The functionality is demonstrated and usage is documented in 'docs/utils/media_group.rst'. Added related test cases in 'tests/test_utils/test_media_group.py'. This is to streamline and simplify the process of media group creation
@JrooTJunior JrooTJunior added the 3.x Issue or PR for stable 3.x version label Sep 2, 2023
@JrooTJunior JrooTJunior added this to the 3.x future milestone Sep 2, 2023
@github-actions
Copy link

github-actions bot commented Sep 2, 2023

✔️ Changelog found.

Thank you for adding a description of the changes

@JrooTJunior JrooTJunior merged commit 5cf8d7b into dev-3.x Sep 2, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue or PR for stable 3.x version
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant