deleteChat()
deleteChat(
chatId:string):Promise<void>
Defined in: packages/core/src/index.ts:2577
Delete a chat
Parameters
| Parameter | Type | Description |
|---|---|---|
chatId | string | The unique identifier of the chat to delete |
Returns
Promise<void>
void
Throws
401 - Not authenticated
Throws
404 - Chat not found
Example
import { deleteChat } from "@cpod/sdk";
await deleteChat("chat-123");