class

OpenAI::RealtimeServerEventConversationCreated

Inherits JSON::Serializable < Reference < Object

Returned when a conversation is created. Emitted right after session creation.

Constructors

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

Instance methods

conversation

The conversation resource.

Source
conversation=(conversation : RealtimeServerEventConversationCreatedConversation)

The conversation resource.

Source
event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
type_value

The event type, must be conversation.created.

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

The event type, must be conversation.created.

Source