mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-27 17:54:38 +03:00
Remove uses of gif external
Since it has been removed in layer 116.
This commit is contained in:
parent
57b38b24dd
commit
95ea2fb40c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user