fix location forwarding

This commit is contained in:
walker 2022-11-05 00:42:11 +04:00
parent 756f0bd89a
commit bb1456dda1

View File

@ -319,7 +319,8 @@ class CustomRequestHandler(WebhookRequestHandler):
types.ContentType.PHOTO, types.ContentType.PHOTO,
types.ContentType.STICKER, types.ContentType.STICKER,
types.ContentType.VIDEO, types.ContentType.VIDEO,
types.ContentType.VOICE] types.ContentType.VOICE,
types.ContentType.LOCATION]
dp.register_message_handler(message_handler, content_types=supported_messages) dp.register_message_handler(message_handler, content_types=supported_messages)
dp.register_edited_message_handler(edited_message_handler, content_types=supported_messages) dp.register_edited_message_handler(edited_message_handler, content_types=supported_messages)