Skip to main content

DyteTextMessage

A component which renders a text message from chat.

Props

message

required

Text message object

Type
TextMessage

iconPack

Icon pack

Default
defaultIconPack

isContinued

Whether the message is continued by same user

Default
false
Type
boolean

now

Date object of now, to calculate distance between dates

Default
new Date()
Type
Date

showBubble

show message in bubble

Default
false
Type
boolean

t

Language

Default
useLanguage()