LocalMediaItem
Defined in: src/lib/chatStore/media.ts:73
Extends
Properties
createdAt?
optionalcreatedAt:number
Defined in: src/lib/chatStore/media.ts:27
Inherited from
localId
localId:
string
Defined in: src/lib/chatStore/media.ts:22
The device’s id for the file, such as StoredMedia.mediaId; the vault id is derived from it.
Inherited from
metadata?
optionalmetadata:object
Defined in: src/lib/chatStore/media.ts:28
Index Signature
[key: string]: ChatJson
Inherited from
mimeType
mimeType:
string
Defined in: src/lib/chatStore/media.ts:24
Inherited from
name
name:
string
Defined in: src/lib/chatStore/media.ts:23
Inherited from
source
source:
string
Defined in: src/lib/chatStore/media.ts:26
The feature that made the file, such as upload, studio or voice.
Inherited from
Methods
read()
read():
Promise<Blob|Uint8Array<ArrayBufferLike> |VaultAttachmentSource|null>
Defined in: src/lib/chatStore/media.ts:74
Returns
Promise<Blob | Uint8Array<ArrayBufferLike> | VaultAttachmentSource | null>