Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>OpenAI#retrieveMessage

OpenAI API wrapper for deno.
Latest
method OpenAI.prototype.retrieveMessage
import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Retrieve a message.

Parameters

threadID: string

The ID of the thread to which this message belongs.

messageID: string

The ID of the message to retrieve.

Returns

Promise<Message>

The message object matching the specified ID.