sendData

fun sendData(data: String): Promise

Sends data message to contact, prefer the use of Contact.sendFile() in case of large data objects

Parameters

data

message to send

return an empty Promise