VoiceAgentUnknownEvent interface

A server event whose wire type is not recognized by this version of the SDK.

The SDK delivers these events without closing the connection or applying known-event validation or normalization. Inspect and validate raw fields before using them.

Properties

eventType

Original type discriminator received from the service.

rawEvent

Complete parsed JSON event, including its original type and all other wire fields.

type

SDK fallback discriminator, distinct from every known server event type.

Property Details

eventType

Original type discriminator received from the service.

eventType: string

Property Value

string

rawEvent

Complete parsed JSON event, including its original type and all other wire fields.

rawEvent: Record<string, unknown>

Property Value

Record<string, unknown>

type

SDK fallback discriminator, distinct from every known server event type.

type: "unknown"

Property Value

"unknown"