chat.deleteThread
Deletes a thread (soft delete).
chat.deleteThread(threadId) → Promise<void>
Removes a thread from the caller's list. The delete is soft, so the record is retained on the server while the thread stops appearing in listThreads.
Parameters
threadId
string
RequiredThe thread to delete.
Delete
await chat.deleteThread(threadId);