updateContext

fun updateContext(aiAgentId: String, channelUrl: String, context: Map<String, String>, handler: AIAgentContextHandler?)

Updates the context for an AI agent in a specific channel. Replaces entire context with provided key-value pairs.

Since

4.34.0

Parameters

aiAgentId

The ID of the AI agent

channelUrl

The URL of the channel

context

The context key-value pairs to set

handler

Callback handler