From acc0fab311d2b8af5d806d0bd9cc015b98daf065 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 1 Jun 2019 14:07:45 +0200 Subject: [PATCH] Fix animated stickers media type. They are documents for now --- pyrogram/client/methods/messages/send_animated_sticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/methods/messages/send_animated_sticker.py b/pyrogram/client/methods/messages/send_animated_sticker.py index 789ca06d..6fd0c647 100644 --- a/pyrogram/client/methods/messages/send_animated_sticker.py +++ b/pyrogram/client/methods/messages/send_animated_sticker.py @@ -112,7 +112,7 @@ class SendAnimatedSticker(BaseClient): url=animated_sticker ) 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: try: