This commit is contained in:
darksidecat 2021-08-21 15:06:35 +03:00
parent 5c6d7ec54b
commit 009f731532

View file

@ -59,11 +59,10 @@ class Update(TelegramObject):
Detect content type
Return update type and content
If update type unknown raise UpdateTypeLookupError
If update type is unknown, raise UpdateTypeLookupError
:return:
"""
event: TelegramObject
if self.message:
return "message", self.message
if self.edited_message: