Share via


RealTimeTextProps interface

Props for a single line of RealTimeText.

Properties

displayName

Display name of the user

id

RealTimeText id

isMe

Boolean indicating whether the RealTimeText is from the local user

isTyping

Boolean indicating whether the RealTimeText is still in progress

message

RealTimeText content

onRenderAvatar

Optional callback to override render of the avatar.

strings

Strings for RealTimeText

userId

user id of the user

Property Details

displayName

Display name of the user

displayName: string

Property Value

string

id

RealTimeText id

id: number

Property Value

number

isMe

Boolean indicating whether the RealTimeText is from the local user

isMe?: boolean

Property Value

boolean

isTyping

Boolean indicating whether the RealTimeText is still in progress

isTyping?: boolean

Property Value

boolean

message

RealTimeText content

message: string

Property Value

string

onRenderAvatar

Optional callback to override render of the avatar.

onRenderAvatar?: OnRenderAvatarCallback

Property Value

strings

Strings for RealTimeText

strings?: RealTimeTextStrings

Property Value

userId

user id of the user

userId?: string

Property Value

string