hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "../client"; |
| 2 | import type { ChatbotMessage } from "./types"; |
| 3 | |
| 4 | export function getChatbotMessageById(threadId: string, messageId: string): Promise<ChatbotMessage> { |
| 5 | return client<ChatbotMessage>( |
| 6 | `/chatbot/threads/${encodeURIComponent(threadId)}/messages/${encodeURIComponent(messageId)}`, |
| 7 | ); |
| 8 | } |