diff --git a/admin/dashboard/blueprints/message_push.py b/admin/dashboard/blueprints/message_push.py index c90eabe..7ffeb7c 100644 --- a/admin/dashboard/blueprints/message_push.py +++ b/admin/dashboard/blueprints/message_push.py @@ -405,6 +405,14 @@ def api_preview_task(task_id): if task.get('content_image'): send_message_in_thread(server.client.send_image_message, recipient, Path(task['content_image'])) + # 发送语音消息 + if task.get('content_voice'): + send_message_in_thread(server.client.send_voice_message, recipient, Path(task['content_voice'])) + + # 发送视频消息 + if task.get('content_video'): + send_message_in_thread(server.client.send_video_message, recipient, Path(task['content_video'])) + # 发送链接消息 if task.get('content_link'): try: