OpenAI::MessageStreamEventVariant1
Inherits JSON::Serializable < Reference < Object
Occurs when a message is created.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event : MessageStreamEventVariant1Event = MessageStreamEventVariant1Event::ThreadMessageCreated, data : MessageObject = MessageObject.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
data
Sourcedata=(data : MessageObject)
Sourceevent
Sourceevent=(event : MessageStreamEventVariant1Event)
Source