refactor: fileNameEncode

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

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,