Metadata-Version: 2.1
Name: aiogram-media-group
Version: 0.2.0
Summary: AIOGram handler for media groups (also known as albums)
Home-page: https://github.com/deptyped/aiogram-media-group
License: MIT
Author: deptyped
Author-email: deptyped@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: aiogram (>=2.11.2,<3.0.0)
Project-URL: Repository, https://github.com/deptyped/aiogram-media-group
Description-Content-Type: text/markdown

# aiogram-media-group
AIOGram handler for media groups (also known as albums)

### Features
- Memory and Redis storage drivers supported
- Ready to work with multiple bot instances

### Install

```bash
pip install aiogram-media-group
# or
poetry add aiogram-media-group
```

### Usage

Minimal usage example:
```python
from aiogram_media_group import MediaGroupFilter, media_group_handler

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

Checkout [echo-bot](./examples/echo.py) for complete usage example 
