sendImageMessage

fun sendImageMessage(filePath: String, fileName: String, peerIds: List<String>)
fun sendImageMessage(imageUri: Uri, peerIds: List<String>)
fun sendImageMessage(imagePath: String, peerIds: List<String>)


fun sendImageMessage(imageUri: Uri)

Send chat image message

Parameters

imageUri

uri of image


fun sendImageMessage(imagePath: String)

Send chat image message

Parameters

imagePath

Location of image file on device storage


fun sendImageMessage(filePath: String, fileName: String)

Deprecated

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

Replace with

sendImageMessage(imageUri: Uri)

Send chat image message

Parameters

filePath

Location of image file on device storage

fileName

Name of the image file, displayed on chat screen