Move alltlobjects.py and fix imports

This commit is contained in:
Lonami Exo
2021-09-12 16:58:06 +02:00
parent 5fd2a017b2
commit 499fc9f603
32 changed files with 145 additions and 158 deletions

View File

@@ -11,7 +11,7 @@ from .._crypto import AES
from .._misc import utils, helpers
from .. import hints, _tl
from .._tl import custom
from ..types import _custom
try:
import PIL
@@ -363,7 +363,7 @@ async def upload_file(
if is_big:
return _tl.InputFileBig(file_id, part_count, file_name)
else:
return custom.InputSizedFile(
return _custom.InputSizedFile(
file_id, part_count, file_name, md5=hash_md5, size=file_size
)