Skip to Content
SdkReactInternalInterfacesProviderBackupState

ProviderBackupState

Defined in: src/react/useBackup.ts:81 

Provider-specific backup state

Properties

backup()

backup: (options?: BackupOperationOptions) => Promise<DropboxExportResult | GoogleDriveExportResult | ICloudExportResult | { error: string; }>

Defined in: src/react/useBackup.ts:87 

Backup all conversations to this provider

Parameters

ParameterType

options?

BackupOperationOptions

Returns

Promise<DropboxExportResult | GoogleDriveExportResult | ICloudExportResult | { error: string; }>


connect()

connect: () => Promise<string>

Defined in: src/react/useBackup.ts:95 

Request access to this provider (triggers OAuth if needed)

Returns

Promise<string>


disconnect()

disconnect: () => Promise<void>

Defined in: src/react/useBackup.ts:97 

Disconnect from this provider

Returns

Promise<void>


isAuthenticated

isAuthenticated: boolean

Defined in: src/react/useBackup.ts:85 

Whether user has authenticated with this provider


isConfigured

isConfigured: boolean

Defined in: src/react/useBackup.ts:83 

Whether the provider is configured


restore()

restore: (options?: BackupOperationOptions) => Promise<DropboxImportResult | GoogleDriveImportResult | ICloudImportResult | { error: string; }>

Defined in: src/react/useBackup.ts:91 

Restore conversations from this provider

Parameters

ParameterType

options?

BackupOperationOptions

Returns

Promise<DropboxImportResult | GoogleDriveImportResult | ICloudImportResult | { error: string; }>

Last updated on