mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
fix location forwarding
This commit is contained in:
parent
756f0bd89a
commit
bb1456dda1
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user