import { type ThreadMessage } from "https://deno.land/x/openai@v4.24.3/resources/beta/threads/messages/mod.ts";
Represents a message within a thread.
Properties
If applicable, the ID of the assistant that authored this message.
The content of the message in array of text and/or images.
A list of file IDs that the assistant should use. Useful for tools like retrieval and code_interpreter that can access files. A maximum of 10 files can be attached to a message.
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.
If applicable, the ID of the run associated with the authoring of this message.
The thread ID that this message belongs to.