aiogram-mg-handler


Nameaiogram-mg-handler JSON
Version 0.7 PyPI version JSON
download
home_pageNone
SummaryAiogram media group handler. Fork of aiogram-media-group
upload_time2024-11-01 21:36:52
maintainerNone
docs_urlNone
authorcrut0i
requires_python>=3.0
licenseNone
keywords aiogram handler
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Handler for aiogram media groups

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

## Install

```Shell
pip install aiogram-mg-handler
```

## Usage

```Python
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](https://github.com/deptyped/aiogram-media-group/blob/main/examples)

*Big thanks to* [deptyped](https://pypi.org/user/deptyped)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aiogram-mg-handler",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": null,
    "keywords": "aiogram handler",
    "author": "crut0i",
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "# Handler for aiogram media groups\r\n\r\n`Fork of https://pypi.org/project/aiogram-media-group`\r\n\r\n## Install\r\n\r\n```Shell\r\npip install aiogram-mg-handler\r\n```\r\n\r\n## Usage\r\n\r\n```Python\r\nfrom aiogram_mg_handler import media_group_handler\r\n\r\n@dp.message_handler(MediaGroupFilter(is_media_group=True), content_types=ContentType.PHOTO)\r\n@media_group_handler\r\nasync def album_handler(messages: List[types.Message]):\r\n    for message in messages:\r\n        print(message)\r\n```\r\n\r\n[Usage examples](https://github.com/deptyped/aiogram-media-group/blob/main/examples)\r\n\r\n*Big thanks to* [deptyped](https://pypi.org/user/deptyped)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Aiogram media group handler. Fork of aiogram-media-group",
    "version": "0.7",
    "project_urls": null,
    "split_keywords": [
        "aiogram",
        "handler"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "187aad32216768b6b552683a92d3493736cad953d451a083c70e1e8cf0ad2490",
                "md5": "471b5a704552f3dec7624c2a99a794d5",
                "sha256": "b4156edad2b4666e37ce4fd7f439459872ec02d22a1c8fb9e72de95b4fe6c02e"
            },
            "downloads": -1,
            "filename": "aiogram_mg_handler-0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "471b5a704552f3dec7624c2a99a794d5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 6581,
            "upload_time": "2024-11-01T21:36:52",
            "upload_time_iso_8601": "2024-11-01T21:36:52.608061Z",
            "url": "https://files.pythonhosted.org/packages/18/7a/ad32216768b6b552683a92d3493736cad953d451a083c70e1e8cf0ad2490/aiogram_mg_handler-0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-01 21:36:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aiogram-mg-handler"
}
        
Elapsed time: 0.80185s