Skip to Content
Anuma SDKReactInternalFunctionsmigrateMessageAttachments

migrateMessageAttachments

migrateMessageAttachments(options: MessageAttachmentMigrationOptions): Promise<MessageAttachmentMigrationResult>

Defined in: src/lib/chatStore/vaultAttachments.ts:607 

Copies a message’s local files into vault and records their ids on the message; safe to rerun after a crash without uploading a file twice.

Parameters

ParameterType

options

MessageAttachmentMigrationOptions

Returns

Promise<MessageAttachmentMigrationResult>

Last updated on