interface ChatMessageDeletedMessage

Sent by the server to every signed-in socket when a chat message is deleted. The client also keeps the id, to show the replies to it as replies to a deleted message.

Properties

type: "chat_message_deleted"
id: string

Usage

import { type ChatMessageDeletedMessage } from "shared/ws.ts";