Skip to content

ImportedAttachment

Unofficial

Imported attachment.

Import:

import type { ImportedAttachment } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ImportedAttachment

Properties

Property Type Description
data Promise<ArrayBuffer> Promise that resolves to the attachment file content.
extension string An attachment file extension.
filepath string An attachment file path.
name string An attachment file name.