Info:
This is documentation for Stream Chat React Native SDK v8, which is no longer actively maintained. For up-to-date documentation, see the latest version (v9).

MessageSystem

Renders system type messages inside MessageList. This is the default component for the MessageSystem prop.

System messages inform users about channel changes. They are part of message history and use type: "system". Common scenarios:

Best Practices

  • Keep system messages distinct but unobtrusive.
  • Use formatDate to keep timestamps consistent with other messages.
  • Avoid mixing system messages with user content styling.
  • Don’t allow reactions or edits on system messages.
  • Ensure system messages are localized where possible.

Props

formatDate

Format function for dates in message status and deleted message components.

Type
function
Parameter Description
date date to format provided as a string, Date, or number (Unix Timestamp)

message

Message object.

Type
Message type
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v8: <Your Question>