update Context
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
ai Agent Id
The ID of the AI agent
channel Url
The URL of the channel
context
The context key-value pairs to set
handler
Callback handler