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

x/openai/resources/beta/assistants.ts>MessageStreamEvent.ThreadMessageCreated

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
interface MessageStreamEvent.ThreadMessageCreated
import { type MessageStreamEvent } from "https://deno.land/x/openai@v4.69.0/resources/beta/assistants.ts";
const { ThreadMessageCreated } = MessageStreamEvent;

Occurs when a message is created.

Properties

data: MessagesAPI.Message

Represents a message within a thread.

event: "thread.message.created"