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

FileAttachmentGroup

Component to render a group of file attachments within the MessageList.

This is the default component provided to the prop FileAttachmentGroup on the Channel component.

Props

messageId

Id of the current message.

Type
string

files

Array of file type attachments to be shown in the grouped UI component.

const files = message.attachments.filter((a) => a.type === "file");
Type
array
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 v4: <Your Question>