mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-30 17:59:55 +03:00
Merge branch 'typehints' into typehints
This commit is contained in:
commit
944384c2ba
|
@ -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>`,
|
||||
|
|
Loading…
Reference in New Issue
Block a user