MessageReplies
Component to render thread reply count and avatars of users who thread-replied to a message within the MessageList
.
This is the default component provided to the prop MessageReplies
on the Channel
component.
Props
noBorder
If true, little curved line next to the reply count won’t be rendered.
Type |
---|
Boolean |
repliesCurveColor
Color for the curved line next to the reply count.
Type |
---|
String |
alignment
Sets if the message should be aligned to right or left side of list.
Type | Default |
---|---|
enum(‘right’, ‘left’) | ‘right’ |
message
Message object.
Type |
---|
Message type |
onLongPress
Default long press handler for message UI.
Type |
---|
function |
onPress
Default press handler for message UI.
Type |
---|
function |
onOpenThread
Handler function for “Thread Reply” action.
Type |
---|
function |
threadList
True if current message is part of a message thread.
Type |
---|
Boolean |