diff --git a/telethon/tl/patched/__init__.py b/telethon/tl/patched/__init__.py index d6aa39c2..2951f2af 100644 --- a/telethon/tl/patched/__init__.py +++ b/telethon/tl/patched/__init__.py @@ -13,8 +13,8 @@ class MessageService(_Message, types.MessageService): types.MessageService = MessageService alltlobjects.tlobjects[MessageService.CONSTRUCTOR_ID] = MessageService -class _Message(_Message, types.Message): +class Message(_Message, types.Message): pass -Message = _Message types.Message = Message +alltlobjects.tlobjects[Message.CONSTRUCTOR_ID] = Message