Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/threads/messages/mod.ts>MessageFile

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface MessageFile
import { type MessageFile } from "https://deno.land/x/openai@v4.21.0/resources/beta/threads/messages/mod.ts";

A list of files attached to a message.

Properties

id: string

The identifier, which can be referenced in API endpoints.

created_at: number

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

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.