TextChat
TextChat(
props):Element
The text chat window. Every game in a room gets one with no code, in the
bottom-left slot on a desktop and behind a button in the corner row on a
phone; one placed among a game’s views replaces it, so a game moves it
with slot, restyles its pane with className, or draws each message
with message. In a game played alone it shows the game’s own messages
and reserves no key. As Roblox’s ChatWindowConfiguration and
ChatInputBarConfiguration.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
TextChatProps |
Returns
Section titled “Returns”Element
Example
Section titled “Example”<Views> <TextChat slot={Slot.TopRight} className="w-96" /></Views>