mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +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)
|
return super().filter(event)
|
||||||
|
|
||||||
class Event(EventCommon):
|
class Event(EventCommon, types.TypeMessage):
|
||||||
"""
|
"""
|
||||||
Represents the event of a new message. This event can be treated
|
Represents the event of a new message. This event can be treated
|
||||||
to all effects as a `Message <telethon.tl.custom.message.Message>`,
|
to all effects as a `Message <telethon.tl.custom.message.Message>`,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user