ChatElementReceivedListener

A callback for receiving individual chat elements as they arrive during a conversation.

Implement this interface to receive real-time notifications when new chat elements (messages, files, system events) are delivered by the chat engine. This is useful for building custom chat history, analytics, or notification features on top of the SDK.

Inheritors

Functions

Link copied to clipboard
open fun onChatElementReceived(chatElement: ChatElement)

Called when a new chat element is received from the chat engine.