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

x/openai_deno/mod.ts>OpenAI#modifyMessage

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

Modifies a message.

Parameters

threadID: string

The ID of the thread to which this message belongs.

messageID: string

The ID of the message to modify.

optional
params: HasMetadata

Optional parameters for the API.

Returns

Promise<Message>

The modified message object.