LiveServerEventLiveSessionStarted interface

ライブ セッションが開始されたときに返されます。 解決されたセッション構成 (サーバーの既定値を含む) が含まれます。

Extends

プロパティ

client_event_id

指定された場合、このサーバー イベントに関連付けられているクライアント コマンドのevent_id。

conversation_id

有効なストアが true の場合に保存された会話 ID。 プロトコル/音声/ライブ/会話を使用する。この ID は session.id とは異なります。

event_id

Live サーバー イベントの一意の ID。

session

開始されたライブセッションの初期設定と識別子。

type

イベントの種類。常に session.started。

プロパティの詳細

client_event_id

指定された場合、このサーバー イベントに関連付けられているクライアント コマンドのevent_id。

client_event_id?: string

プロパティ値

string

conversation_id

有効なストアが true の場合に保存された会話 ID。 プロトコル/音声/ライブ/会話を使用する。この ID は session.id とは異なります。

conversation_id?: string

プロパティ値

string

event_id

Live サーバー イベントの一意の ID。

event_id: string

プロパティ値

string

session

開始されたライブセッションの初期設定と識別子。

session: VoiceAgentLiveSessionResource

プロパティ値

type

イベントの種類。常に session.started。

type: "session.started"

プロパティ値

"session.started"