billions-lawyer-8588
08/04/2025, 9:37 PMtall-airline-16756
08/04/2025, 9:37 PMtall-airline-16756
08/04/2025, 9:38 PMChatMessage structure includes a timestamp field.
• The ChatEntry component can display timestamps and allows you to show or hide them using the hideTimestamp prop.
Timestamps are displayed in two formats:
• Full time style (shown in the title attribute).
• Short time style (shown in the UI).
Here is an example of how to use the ChatEntry component:
The timestamp will be displayed, and users can hover over the message to see the full time.
Sources: packages/livekit-rtc/src/types.ts | components/livekit/chat/hooks/utils.ts | packages/react/src/components/ChatEntry.tsx