diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 82437b5f..c8b8d951 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -133,7 +133,7 @@ class UploadMethods: comment_to: 'typing.Union[int, types.Message]' = None, ttl: int = None, nosound_video: bool = None, - **kwargs) -> list[typing.Any] | typing.Any: + **kwargs) -> typing.Union[typing.List[typing.Any], typing.Any]: """ Sends message with the given file to the specified entity. diff --git a/telethon/version.py b/telethon/version.py index d8c63aac..f27eec37 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.38.0' +__version__ = '1.38.1'