mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Create RpcResult class and generalise core special cases
This results in a cleaner MTProtoSender, which now can always read a TLObject with a guaranteed item, if the message is OK.
This commit is contained in:
@@ -6,7 +6,7 @@ from hashlib import sha256
|
||||
from ..crypto import AES
|
||||
from ..errors import SecurityError, BrokenAuthKeyError
|
||||
from ..extensions import BinaryReader
|
||||
from ..tl import TLMessage
|
||||
from ..tl.core import TLMessage
|
||||
|
||||
|
||||
class MTProtoState:
|
||||
|
Reference in New Issue
Block a user