forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBc35a83aBurak Boduroğlu4 months ago440 commits

getChatbotMessageById.ts8 lines, 324 bytesHistoryRawDownload
1import { client } from "../client";
2import type { ChatbotMessage } from "./types";
3
4export function getChatbotMessageById(threadId: string, messageId: string): Promise<ChatbotMessage> {
5 return client<ChatbotMessage>(
6 `/chatbot/threads/${encodeURIComponent(threadId)}/messages/${encodeURIComponent(messageId)}`,
7 );
8}