Merge branch 'typehints' into typehints

This commit is contained in:
Lonami 2020-12-22 20:47:38 +01:00 committed by GitHub
commit 944384c2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ class NewMessage(EventBuilder):
return super().filter(event)
class Event(EventCommon):
class Event(EventCommon, types.TypeMessage):
"""
Represents the event of a new message. This event can be treated
to all effects as a `Message <telethon.tl.custom.message.Message>`,