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

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

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

Occurs when a message is created.

Properties

data: MessagesAPI.Message

Represents a message within a thread.

event: "thread.message.created"