property WSChatContextValue.deleteChatMessage

Sends the deletion if the socket is open, as editChatMessage does.

Type

(id: string) => void

Usage

import { type WSChatContextValue } from "src/contexts/ws/WSContext.ts";