ChatEntry
The ChatEntry component holds and displays one chat message.
Import
import { ChatEntry } from "@livekit/components-react";
Usage
<Chat><ChatEntry /></Chat>
Properties
entry
ReceivedChatMessageRequiredThe chat massage object to display.
hideName
booleanOptional(Optional) Hide sender name. Useful when displaying multiple consecutive chat messages from the same person.
hideTimestamp
booleanOptional(Optional) Hide message timestamp.
messageFormatter
MessageFormatterOptional(Optional) An optional formatter for the message body.