diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 939718a3..127d2a11 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -406,7 +406,7 @@ class UploadMethods: fh, fm, _ = await self._file_to_media( file, supports_streaming=supports_streaming, force_document=force_document) - if isinstance(fm, types.InputMediaUploadedPhoto): + if isinstance(fm, (types.InputMediaUploadedPhoto, types.InputMediaPhotoExternal)): r = await self(functions.messages.UploadMediaRequest( entity, media=fm ))