class

OpenAI::RealtimeServerEventConversationItemDeleted

Inherits JSON::Serializable < Reference < Object

Returned when an item in the conversation is deleted by the client with a conversation.item.delete event. This event is used to synchronize the server's understanding of the conversation history with the client's view.

Constructors

new(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, item_id : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
item_id

The ID of the item that was deleted.

Source
item_id=(item_id : String)

The ID of the item that was deleted.

Source
type_value

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

Source
type_value=(type_value : Hash(String, JSON::Any))

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

Source