import { client } from "../client"; import type { AcceptedChatbotMessage } from "./types"; export function postChatbotMessage(threadId: string, content: string): Promise { return client(`/chatbot/threads/${encodeURIComponent(threadId)}/messages`, { method: "POST", body: { content }, }); }