mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Rename handmade Message class to TLMessage to avoid confusion
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from .tlobject import TLObject
|
||||
from .session import Session
|
||||
from .gzip_packed import GzipPacked
|
||||
from .message import Message
|
||||
from .tl_message import TLMessage
|
||||
from .message_container import MessageContainer
|
||||
|
@@ -3,7 +3,7 @@ import struct
|
||||
from . import TLObject, GzipPacked
|
||||
|
||||
|
||||
class Message(TLObject):
|
||||
class TLMessage(TLObject):
|
||||
"""https://core.telegram.org/mtproto/service_messages#simple-container"""
|
||||
def __init__(self, session, request):
|
||||
super().__init__()
|
Reference in New Issue
Block a user