Function: deleteThread()
deleteThread(
opts):Promise<{deleted:boolean; }>
Delete a single named thread (and every message on it).
Ownership is enforced: the thread is only removed when it belongs to
the calling resource, so a client can’t delete another user’s
conversation by guessing its id. A thread that doesn’t exist (or
isn’t owned by the caller) is a successful no-op (deleted: false)
so the UI can fire-and-forget.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<{ deleted: boolean; }>