sendFileMessage

fun sendFileMessage(fileUri: Uri)

Send chat file message

Parameters

fileUri

uri of file


fun sendFileMessage(fileUri: Uri, peerIds: List<String>)
fun sendFileMessage(filePath: String, peerIds: List<String>)


fun sendFileMessage(filePath: String)

Send chat file message

Parameters

filePath

Location of file on device storage


fun sendFileMessage(filePath: String, fileName: String)

Deprecated

Sending a file message no longer needs fileName parameter. This method will be removed in next version of the SDK.

Replace with

sendFileMessage(fileUri: Uri)

Send file message

Parameters

filePath

Location of file on device storage

fileName

Name of the file, displayed on chat screen