From bb1456dda1e6da83b48f568592bf48d196b8d87e Mon Sep 17 00:00:00 2001 From: walker Date: Sat, 5 Nov 2022 00:42:11 +0400 Subject: [PATCH] fix location forwarding --- server/custom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)