diff --git a/bot.py b/bot.py index 1fad95b..20c1eab 100644 --- a/bot.py +++ b/bot.py @@ -121,7 +121,7 @@ class Core(TasksHandlerMixin): if self.message.video_note: self.send(chat_to_send, 'send_video_note', data=self.message.video_note.file_id) if self.message.animation: - self.send(chat_to_send, 'send_animation', animation=self.message.animation.file_id) + self.send(chat_to_send, 'send_animation', data=self.message.animation.file_id) self.send_message(self.message_text, chat_to_send) def start_new_dialog(self, chat_ids):