updateContext

fun SendbirdChat.AIAgent.updateContext(aiAgentId: String, channelUrl: String, context: Map<String, String>, handler: ResultHandler<String>?)

Replaces the context of AI agent for a specific channel.

Since

4.34.0

Parameters

aiAgentId

The AI agent ID.

channelUrl

The URL of the channel.

context

The context map to update.

handler

Callback handler.