2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Fix animated stickers media type. They are documents for now

This commit is contained in:
Dan 2019-06-01 14:07:45 +02:00
parent 1f2be4f1ce
commit acc0fab311

View File

@ -112,7 +112,7 @@ class SendAnimatedSticker(BaseClient):
url=animated_sticker url=animated_sticker
) )
else: else:
media = utils.get_input_media_from_file_id(animated_sticker, 8) media = utils.get_input_media_from_file_id(animated_sticker, 5)
while True: while True:
try: try: