sendAlert

fun sendAlert(target: ZelloContact, message: String, level: ZelloAlertMessage.ChannelLevel? = null)

Sends the alert message to the given contact. This will trigger the Zello.Listener.onOutgoingAlertMessageSent event if successful, or the Zello.Listener.onOutgoingAlertMessageSendFailed event if there is an error.

Parameters

target

The contact to send the alert to.

message

The text to send.

level

Optional; The alert level to send. Only applicable for channels.