send Image Message
fun sendImageMessage(@ObjCName(name = "imageURL" ) imageUri: RtkUri, onResult: (ChatFileError?) -> Unit)
Sends an image message to everyone.
Parameters
image Uri
The URI of the image to be sent.
on Result
A callback that returns a ChatFileError if the operation is not successful, otherwise null.
fun sendImageMessage(@ObjCName(name = "imageURL" ) imageUri: RtkUri, peerIds: List<String>, onResult: (ChatFileError?) -> Unit)
Sends an image message to specific participants.
Parameters
image Uri
The URI of the image to be sent.
peer Ids
The list of peer IDs to whom the image should be sent.
on Result
A callback that returns a ChatFileError if the operation is not successful, otherwise null.