App.importAttachments method
App › importAttachments
Unofficial
Import attachments into specified folder.Signature:
importAttachments(attachmentsToImport: ImportedAttachment[], folder: TFolder | null): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| attachmentsToImport | ImportedAttachment[] | The attachments to import. |
| folder | TFolder | null | The folder to import the attachments to. |
Returns: Promise<void> — A promise that resolves when all attachments are imported.