mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Rework methods to manage event handlers
This commit is contained in:
@@ -6,7 +6,7 @@ from .. import _tl
|
||||
from ..types import _custom
|
||||
|
||||
|
||||
class NewMessageEvent(EventBuilder, Message):
|
||||
class NewMessage(EventBuilder, _custom.Message):
|
||||
"""
|
||||
Represents the event of a new message. This event can be treated
|
||||
to all effects as a `Message <telethon.tl.custom.message.Message>`,
|
||||
|
Reference in New Issue
Block a user