class

OpenAI::MessageDeltaObject

Inherits JSON::Serializable < Reference < Object

Represents a message delta i.e. any changed fields on a message during streaming.

Constructors

new(id : String = "", object : MessageDeltaObjectObject = MessageDeltaObjectObject::ThreadMessageDelta, delta : MessageDeltaObjectDelta = MessageDeltaObjectDelta.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

delta

The delta containing the fields that have changed on the Message.

Source
delta=(delta : MessageDeltaObjectDelta)

The delta containing the fields that have changed on the Message.

Source
id

The identifier of the message, which can be referenced in API endpoints.

Source
id=(id : String)

The identifier of the message, which can be referenced in API endpoints.

Source
object

The object type, which is always thread.message.delta.

Source
object=(object : MessageDeltaObjectObject)

The object type, which is always thread.message.delta.

Source