interface ReplyRefProps

Passed to ReplyRef by ChatMessageItem, from the message's replyTo* fields, and by PendingItem, from its replyTo.

Properties

replyToId: string
optional
author: string

Undefined when the replied-to message was deleted.

optional
body: string

Possibly cut short by the server, as replyToBody is.

onJumpTo: (id: string) => void

Usage

import { type ReplyRefProps } from "src/components/chat/ReplyRef.tsx";