RealtimeClientEventConversationItemDelete interface

会話履歴からアイテムを削除したいときにこのイベントを送信してください。 サーバーは conversation.item.deleted イベントで応答しますが、そのアイテムが会話履歴に存在しない場合、エラーで応答します。

Extends

プロパティ

event_id

このイベントを識別するためにオプションのクライアント生成IDを使用しています。

item_id

削除するアイテムの ID。

type

イベントの種類は conversation.item.deleteでなければなりません。

プロパティの詳細

event_id

このイベントを識別するためにオプションのクライアント生成IDを使用しています。

event_id?: string

プロパティ値

string

item_id

削除するアイテムの ID。

item_id: string

プロパティ値

string

type

イベントの種類は conversation.item.deleteでなければなりません。

type: "conversation.item.delete"

プロパティ値

"conversation.item.delete"