mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-16 18:16:39 +00:00
feat(hints): expand FileLike type hint
This commit is contained in:
parent
59da66e105
commit
0f2572d569
@ -44,7 +44,12 @@ FileLike = typing.Union[
|
||||
typing.BinaryIO,
|
||||
types.TypeMessageMedia,
|
||||
types.TypeInputFile,
|
||||
types.TypeInputFileLocation
|
||||
types.TypeInputFileLocation,
|
||||
types.TypeInputMedia,
|
||||
types.TypePhoto,
|
||||
types.TypeInputPhoto,
|
||||
types.TypeDocument,
|
||||
types.TypeInputDocument
|
||||
]
|
||||
|
||||
# Can't use `typing.Type` in Python 3.5.2
|
||||
|
Loading…
Reference in New Issue
Block a user