Remove uses of gif external

Since it has been removed in layer 116.
This commit is contained in:
Lonami Exo 2020-07-26 12:59:10 +02:00
parent 57b38b24dd
commit 95ea2fb40c

View File

@ -728,8 +728,6 @@ class UploadMethods:
elif re.match('https?://', file):
if as_image:
media = types.InputMediaPhotoExternal(file)
elif not force_document and utils.is_gif(file):
media = types.InputMediaGifExternal(file, '')
else:
media = types.InputMediaDocumentExternal(file)
else: