aiogram-media-group
aiogram handler for media groups (also known as albums)
Supported drivers
Install
pip install aiogram-media-group
# or
poetry add aiogram-media-group
Usage
Minimal usage example:
from aiogram_media_group 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)
Checkout examples for complete usage examples
Metadata
Release files for aiogram-media-group 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiogram-media-group-0.5.1.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiogram_media_group-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / aiogram-media-group-0.5.1.tar.gz
| Download URL | aiogram-media-group-0.5.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5ab6c1dea4a0729c25fdb90b2310537d71d8d3554765d302b37156edaa51d33
|
|
BLAKE2b-256 checksum How to use checksums |
476ef10d3e4980b5b81b963ed2cbcbf666b1c02bfa723cfb9a37f43c5f0ffbdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-41-generic
|
Release files / aiogram_media_group-0.5.1-py3-none-any.whl
| Download URL | aiogram_media_group-0.5.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31fd150769075e23e6e161b444d553b8b62a33cd7d85ef770393572470a5ca38
|
|
BLAKE2b-256 checksum How to use checksums |
da225124e475fac271b5437e634ea967130e4ac98c18c9a0f00a6b7ca9ebcbf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-41-generic
|