From 92294b1e4ed2408726d1a1e6ae77f7e09b50c434 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 19 Dec 2024 15:38:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=AE=8C=E5=96=84=E5=8F=91=E9=80=81?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baileys-server/main.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/baileys-server/main.js b/baileys-server/main.js index 98d5119..dbebaf6 100644 --- a/baileys-server/main.js +++ b/baileys-server/main.js @@ -43,10 +43,7 @@ const startSock = async () => { const sendImageMessage = (whatsAppNo, content) => { sock.sendMessage(whatsAppNo + '@s.whatsapp.net', { - image: { url: 'https://images.chinahighlights.com/allpicture/2024/09/4e2099ca48384c3c84cde6a44e47ee84_cut_1140x360_241_1726745163.webp'},//fs.readFileSync("d:\\Workspace\\1.jpg"), - caption: "我是图片", - gifPlayback: true, - ptv: false + image: { url: 'https://images.asiahighlights.com/allpicture/2022/07/8a7d9ced5936463bb904c82a_cut_750x850_349.webp'},//fs.readFileSync("d:\\Workspace\\1.jpg"), }) }