mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Move alltlobjects.py and fix imports
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user