conversationClient

Returns a ConversationClient bound to the UIConfiguration.conversationId.

Use the returned client to send messages, observe conversation entries, or perform conversation-level operations programmatically.

Return

A ConversationClient for the configured conversation.

Parameters

context

The application Context. Used on first access to initialize the underlying CoreClient.

Samples

val conversationClient = uiClient.conversationClient(context)

// Send a message programmatically
suspend fun sendHelloWorld() {
    conversationClient.sendMessage("Hello World")
}