upload File To Conversation
abstract fun uploadFileToConversation(conversation: IRainbowConversation, uriFile: Uri, listener: RainbowListener<RainbowFileDescriptor, Unit>? = null)
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
uri File
Uri the Uri of the file to upload
listener
RainbowListener<RainbowFileDescriptor, Unit> callback (onSuccess, onError)