sendMessage

open override fun sendMessage(action: String, payload: Map<String, Any>)

Sends a custom message from the user of the SDK to the experience. Will not wait for a response to come back, and instead return the flow of control immediately

Parameters

action

User specified message action

payload

Key-value payload with user specific data to be sent