//core/com.kustomer.core.listeners/KusChatListener/onPreviewChanged
[androidJvm]
abstract fun onPreviewChanged(conversationId: String, preview: KusConversationPreview)
Called when a new message is received for a conversation which changes the preview text KusConversation.preview text is used to show the last message text for a conversation on the UI
androidJvm
conversationId | The ID of the conversation for which the preview has changed |
preview | Type of message that needs to be shown in the preview. Text contains the text that needs to be rendered, Attachment contains the message direction |