Share via


ClientEventConversationItemDelete interface

Send this event when you want to remove any item from the conversation history. The server will respond with a conversation.item.deleted event, unless the item does not exist in the conversation history, in which case the server will respond with an error.

Extends

Properties

itemId

The ID of the item to delete.

type

The event type, must be conversation.item.delete.

Inherited Properties

eventId

Property Details

itemId

The ID of the item to delete.

itemId: string

Property Value

string

type

The event type, must be conversation.item.delete.

type: "conversation.item.delete"

Property Value

"conversation.item.delete"

Inherited Property Details

eventId

eventId?: string

Property Value

string

Inherited From ClientEvent.eventId