upload File To Conversation
abstract fun uploadFileToConversation(conversation: IRainbowConversation, uriFile: Uri, listener: IFileProxy.IUploadFileListener?)
Content copied to clipboard
Uploads a file to a conversation A new RainbowFileDescriptor will be create with the user as the owner, the IRainbowConversation will be a viewer for this RainbowFileDescriptor whether it's a contact or a bubble.
Parameters
conversation
IRainbowConversation the conversation object in which the file will be uploaded
uriFile
Uri the Uri of the file to upload
listener
IUploadFileListener Callback (onUploadSuccess, onUploadInProgress, onUploadFailed)