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"