uploadFile

abstract suspend fun uploadFile(fileData: Flow<ByteArray>, attachment: Attachment)

Uploads a file to remote storage.

Parameters

fileData

The file data as a flow of byte arrays.

attachment

The attachment record associated with the file.