VoiceAgentUnknownEvent interface

A service event this SDK version does not recognize.

These events do not close the connection. The SDK does not validate or transform their payloads, so validate rawEvent before using its fields.

Properties

eventType

Original event type sent by the service.

rawEvent

Complete event payload, including the original type.

type

Identifies an unrecognized event.

Property Details

eventType

Original event type sent by the service.

eventType: string

Property Value

string

rawEvent

Complete event payload, including the original type.

rawEvent: Record<string, unknown>

Property Value

Record<string, unknown>

type

Identifies an unrecognized event.

type: "unknown"

Property Value

"unknown"