mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-10 10:49:39 +00:00
Make more TLObject methods private
Even though raw API is somewhat necessary at times, these methods should remain implementation details.
This commit is contained in:
@@ -604,7 +604,7 @@ class MTProtoSender:
|
||||
else:
|
||||
try:
|
||||
with BinaryReader(rpc_result.body) as reader:
|
||||
result = state.request.read_result(reader)
|
||||
result = state.request._read_result(reader)
|
||||
except Exception as e:
|
||||
# e.g. TypeNotFoundError, should be propagated to caller
|
||||
if not state.future.cancelled():
|
||||
|
Reference in New Issue
Block a user