Minor documentation and type hint updates

This commit is contained in:
Lonami Exo
2019-07-17 12:37:16 +02:00
parent 4bf85d9e8e
commit cbcbda5276
5 changed files with 6 additions and 6 deletions

View File

@@ -273,7 +273,7 @@ class DownloadMethods:
message: 'hints.MessageLike',
file: 'hints.FileLike' = None,
*,
thumb: 'hints.FileLike' = None,
thumb: 'typing.Union[int, types.TypePhotoSize]' = None,
progress_callback: 'hints.ProgressCallback' = None) -> typing.Optional[typing.Union[str, bytes]]:
"""
Downloads the given media from a message object.