Telethon/telethon/tl/patched/__init__.py

21 lines
552 B
Python
Raw Normal View History

from .. import types, alltlobjects
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
2021-02-10 22:21:16 +03:00
class Message(_Message, types.Message):
pass
types.Message = Message
2021-02-10 22:21:16 +03:00
alltlobjects.tlobjects[Message.CONSTRUCTOR_ID] = Message