diff --git a/server/custom.py b/server/custom.py index d17aed6..837cfd5 100644 --- a/server/custom.py +++ b/server/custom.py @@ -319,7 +319,8 @@ class CustomRequestHandler(WebhookRequestHandler): types.ContentType.PHOTO, types.ContentType.STICKER, types.ContentType.VIDEO, - types.ContentType.VOICE] + types.ContentType.VOICE, + types.ContentType.LOCATION] dp.register_message_handler(message_handler, content_types=supported_messages) dp.register_edited_message_handler(edited_message_handler, content_types=supported_messages)