From 6d8bb49a37d9d0b8da9253ce2cf428d8b6c9209f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 2 Mar 2025 14:27:09 +0800 Subject: [PATCH] fix: #837 --- src/onebot/api/msg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot/api/msg.ts b/src/onebot/api/msg.ts index 2c8305ed..8905bbbd 100644 --- a/src/onebot/api/msg.ts +++ b/src/onebot/api/msg.ts @@ -354,8 +354,8 @@ export class OneBotMsgApi { type: OB11MessageDataType.voice, data: { file: fileCode, - path: element.filePath, file_size: element.fileSize, + path: element.filePath, }, }; },