LiveKit LogoDocs
Real-timeEgress/IngressCloudReference

Chat

The Chat component adds a basis chat functionality to the LiveKit room. The messages are distributed to all participants in the room. Only users who are in the room at the time of dispatch will receive the message.

Import

import { Chat } from '@livekit/components-react';

Usage

<LiveKitRoom>
<Chat />
</LiveKitRoom>

Properties

#
messageDecoder?MessageDecoder

(Optional)

#
messageEncoder?MessageEncoder

(Optional)

#
messageFormatter?MessageFormatter

(Optional)

On this page

ImportUsageProperties

Previous

Chevron IconCarouselView
LiveKit logo

Product

SFU

SDKs

Performance

Deployment

GitHub Logo