proactiveActionFailure
fun ChatEventHandler.proactiveActionFailure(data: ActionMetadata, date: Date = Date(), listener: ChatEventHandler.OnEventSentListener? = null, errorListener: ChatEventHandler.OnEventErrorListener? = null)
Send a proactive action failure event to the analytics.
proactiveActionClick should be invoked when the user declines a proactive action offered via ChatActionHandler.onPopup listener either by ignoring it or by explicitly declining it by, e.g. tapping a close box.
Parameters
data
ActionMetadata provided in ChatActionHandler.onPopup listener.
date
date of the event.
listener
an optional listener to be notified after the event has been sent.
errorListener
an optional error listener to be notified about errors encountered when event is handled.