feat: get_private_file_url

This commit is contained in:
手瓜一十雪 committed 2025-02-18 16:51:51 +08:00
1 parent 6b3bfa1ee9
commit 95ea761b2d
5 files changed
+65 -18

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ export class OneBotMsgApi {
peerUid: msg.peerUid,
guildId: '',
};
const file = FileNapCatOneBotUUID.encode(peer, msg.msgId, elementWrapper.elementId, element.fileUuid, element.fileName);
const file = FileNapCatOneBotUUID.encode(peer, msg.msgId, elementWrapper.elementId, element.fileUuid, element.fileUuid);
return {
type: OB11MessageDataType.file,
data: {