sendAlertByTemplate

fun sendAlertByTemplate(alertTemplate: AlertTemplate, onCompletion: (SippoResourceError?) -> Unit)

Send an Alert with a specified template by AlertTemplate.

Parameters

alertTemplate

AlertTemplate template to be send.

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.