Skip to main content

Aiogram media group handler. Fork of aiogram-media-group

Project description

Handler for aiogram media groups

Fork of https://pypi.org/project/aiogram-media-group

Install

pip install aiogram-mg-handler

Usage

from aiogram_mg_handler import media_group_handler

@dp.message_handler(MediaGroupFilter(is_media_group=True), content_types=ContentType.PHOTO)
@media_group_handler
async def album_handler(messages: List[types.Message]):
    for message in messages:
        print(message)

Usage examples

Big thanks to deptyped

Project details


Release history Release notifications | RSS feed

This version

0.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiogram_mg_handler-0.7-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file aiogram_mg_handler-0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for aiogram_mg_handler-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b4156edad2b4666e37ce4fd7f439459872ec02d22a1c8fb9e72de95b4fe6c02e
MD5 471b5a704552f3dec7624c2a99a794d5
BLAKE2b-256 187aad32216768b6b552683a92d3493736cad953d451a083c70e1e8cf0ad2490

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page