Represents removing an agent from the conversation Supports reason tokens for why the agent is being uninvited
const uninviteEvent = new UninviteEvent({ to: { speakerUri: 'tag:example.com,2025:agent1' }, reason: '@timedOut'}); Copy
const uninviteEvent = new UninviteEvent({ to: { speakerUri: 'tag:example.com,2025:agent1' }, reason: '@timedOut'});
Creates a new UninviteEvent instance
UninviteEvent configuration options
Readonly
Optional
Convert to JSON string
Convert to plain object
Static
Represents removing an agent from the conversation Supports reason tokens for why the agent is being uninvited
Example