Value parameters
- assistantId
-
If applicable, the ID of the assistant that authored this message.
- attachments
-
A list of files attached to the message, and the tools they were added to.
- content
-
The content of the message in array of text and/or images.
- createdAt
-
The Unix timestamp (in seconds) for when the message was created.
- id
-
The identifier, which can be referenced in API endpoints.
- metadata
-
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. For more information please visit: https://platform.openai.com/docs/api-reference/messages/object
- object
-
The object type, which is always thread.message.
- role
-
The entity that produced the message. One of user or assistant.
- runId
-
If applicable, the ID of the run associated with the authoring of this message.
- threadId
-
The thread ID that this message belongs to.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any