Skip to content

App.importAttachments method

App › importAttachments

Unofficial

Import attachments into specified folder.

Signature:

importAttachments(attachmentsToImport: ImportedAttachment[], folder: TFolder | null): Promise<void>

Parameters:

ParameterTypeDescription
attachmentsToImportImportedAttachment[]The attachments to import.
folderTFolder | nullThe folder to import the attachments to.

Returns: Promise<void>A promise that resolves when all attachments are imported.