VoiceAgentRealtimeEvent type

音声エージェントとリアルタイムの接続から受信したイベント。

既知のイベントは生成された型と正規化を保持します。 認識されないワイヤータイプは VoiceAgentUnknownEventに巻き込まれます。 既知のイベントを絞り込むために type をオンにするか、既知のイベントハンドラーにイベントを渡す前に type === "unknown" を除外してください。

type VoiceAgentRealtimeEvent = VoiceAgentServerEvent | VoiceAgentUnknownEvent