onNewMessageReceived

abstract fun onNewMessageReceived(content: String)

Called when a new incoming message has been received.

Text content of the message is available if you want to display it in your custom engagement UI for instance.

Parameters

content

Text content of the message.