A list of files attached to a message.

interface MessageFile {
    created_at: number;
    id: string;
    message_id: string;
    object: "thread.message.file";
}

Properties

created_at: number

The Unix timestamp (in seconds) for when the message file was created.

id: string

The identifier, which can be referenced in API endpoints.

message_id: string

The ID of the message that the File is attached to.

object: "thread.message.file"

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

Generated using TypeDoc