sendMessage

fun sendMessage(message: String, onCompletion: (SippoResourceError?) -> Unit)

Sends a text message to this chat.

Parameters

message

text to be sent.

onCompletion

Callback that will be invoked when the request is completed. It will receive a SippoResourceError if any error occurs. In case of success, error will be null.