mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 19:03:46 +03:00
Delete _tl.patched backward-compatibility hack
This commit is contained in:
parent
f6c94f4d84
commit
c08d724baa
|
@ -1,20 +0,0 @@
|
||||||
from .. import _tl
|
|
||||||
from ..custom.message import Message as _Message
|
|
||||||
|
|
||||||
class MessageEmpty(_Message, types.MessageEmpty):
|
|
||||||
pass
|
|
||||||
|
|
||||||
types.MessageEmpty = MessageEmpty
|
|
||||||
alltlobjects.tlobjects[MessageEmpty.CONSTRUCTOR_ID] = MessageEmpty
|
|
||||||
|
|
||||||
class MessageService(_Message, types.MessageService):
|
|
||||||
pass
|
|
||||||
|
|
||||||
types.MessageService = MessageService
|
|
||||||
alltlobjects.tlobjects[MessageService.CONSTRUCTOR_ID] = MessageService
|
|
||||||
|
|
||||||
class Message(_Message, types.Message):
|
|
||||||
pass
|
|
||||||
|
|
||||||
types.Message = Message
|
|
||||||
alltlobjects.tlobjects[Message.CONSTRUCTOR_ID] = Message
|
|
Loading…
Reference in New Issue
Block a user