Skip to content

Handler doesn't handle Venue Messages #26

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

Closed
makovez opened this issue Mar 24, 2018 · 1 comment
Closed

Handler doesn't handle Venue Messages #26

makovez opened this issue Mar 24, 2018 · 1 comment

Comments

@makovez
Copy link

makovez commented Mar 24, 2018

@dp.message_handler(content_types=types.ContentType.VENUE)
async def func(message):
    print(message)

i tried this code, and it doesent handler Venue messages

if i use a filter on any types like
@dp.message_handler(content_types=types.ContentType.ANY)
This handle Venue in addition to others

@JrooTJunior
Copy link
Member

Fixed in latest version: https://github.com/aiogram/aiogram/releases/tag/v1.2.1
You can install new version from pypi: pip install aiogram -U

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants