upload File To Channel
abstract fun uploadFileToChannel(channel: Channel, uriFile: Uri, listener: IFileProxy.IUploadFileListener?)
Content copied to clipboard
Uploads a file to a channel A new RainbowFileDescriptor will be create with the user as the owner, the channel will be a viewer for this RainbowFileDescriptor.
Parameters
channel
Channel the channel object in which the file will be uploaded
uriFile
Uri the Uri of the file to upload
listener
IUploadFileListener Callback (onUploadSuccess, onUploadInProgress, onUploadFailed)