MessageReplies

Renders thread reply count and avatars inside MessageList. This is the default component for the MessageReplies prop.

Best Practices

  • Keep reply indicators compact to avoid clutter.
  • Use onOpenThread to navigate to thread views consistently.
  • Respect alignment and thread state for consistent layout.
  • Avoid heavy logic in press handlers.
  • Use preventPress for read-only reply indicators.

Props

PropDescriptionType
alignmentSets whether the message aligns left or right in the list. Defaults to 'right'.enum('right', 'left')
messageMessage object.Message type
onLongPressDefault long press handler for message UI.function
onPressDefault press handler for message UI.function
onOpenThreadHandler function for "Thread Reply" action.function
onPressInDefault pressIn handler for message UI.function
preventPressDisable press interactions for the replies row.boolean
threadListTrue if the current message is part of a thread.boolean

UI Component Props

MessageRepliesAvatars

Component used to render participant avatars beside the reply count.

TypeDefault
ComponentTypeMessageRepliesAvatars