patchContext

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

Merges the context of AI agent for a specific channel with the provided key-value pairs.

Since

4.34.0

Parameters

aiAgentId

The AI agent ID.

channelUrl

The URL of the channel.

context

The context map to patch.

handler

Callback handler.