refactor: fileNameEncode

This commit is contained in:
手瓜一十雪 committed 2024-09-08 10:07:49 +08:00
1 parent 1bf08c2649
commit e318beee99
4 files changed
+39 -16

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ export class OneBotGroupApi {
id: FileNapCatOneBotUUID.encode({
chatType: ChatType.KCHATTYPEGROUP,
peerUid: msg.peerUid,
}, msg.msgId, element.elementId),
}, msg.msgId, element.elementId, element.fileElement.fileName),
name: element.fileElement.fileName,
size: parseInt(element.fileElement.fileSize),
busid: element.fileElement.fileBizId || 0,