Skip to main content
Version: v5

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#

required
noBorder#

If true, little curved line next to the reply count won't be rendered.

Type
boolean

required
repliesCurveColor#

Color for the curved line next to the reply count.

Type
string

overrides the value from MessageContext
alignment#

Sets if the message should be aligned to right or left side of list.

TypeDefault
enum('right', 'left')'right'

overrides the value from MessageContext
message#

Message object

Type
object

overrides the value from MessageContext
onLongPress#

Default long press handler for message UI.

Type
function

overrides the value from MessageContext
onPress#

Default press handler for message UI.

Type
function

overrides the value from MessageContext
onOpenThread#

Handler function for "Thread Reply" action.

Type
function

overrides the value from MessageContext
threadList#

True if current message is part of a message thread.

Type
boolean

Did you find this page helpful?