import { Messages } from "https://deno.land/x/openai@v4.69.0/resources/beta/threads/messages.ts";
class Messages
extends APIResource
import { Messages } from "https://deno.land/x/openai@v4.69.0/resources/beta/threads/messages.ts";
Methods
del(): Core.APIPromise<MessageDeleted>
threadId: string,
messageId: string,
options?: Core.RequestOptions,
Deletes a message.
list(): Core.PagePromise<MessagesPage, Message>
Returns a list of messages for a given thread.
list(threadId: string, options?: Core.RequestOptions): Core.PagePromise<MessagesPage, Message>
retrieve(): Core.APIPromise<Message>
threadId: string,
messageId: string,
options?: Core.RequestOptions,
Retrieve a message.