---
title: GroupSessionJournal.Attachment
framework: groupactivities
role: symbol
role_heading: Structure
path: groupactivities/groupsessionjournal/attachment
---

# GroupSessionJournal.Attachment

A container for the data you download.

## Declaration

```swift
struct Attachment
```

## Mentioned in

Synchronizing data during a SharePlay activity

## Overview

Overview When your app receives a new item, the system packages it in an GroupSessionJournal.Attachment and delivers it to your app. Use this container type to download the contents of the file and decode it to a type that your app recognizes.

## Topics

### Downloading the attachment data

- [load(_:)](groupactivities/groupsessionjournal/attachment/load(_:).md)
- [loadMetadata(of:)](groupactivities/groupsessionjournal/attachment/loadmetadata(of:).md)

### Identifying the attachment

- [id](groupactivities/groupsessionjournal/attachment/id.md)

## Relationships

### Conforms To

- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Downloading content from the session

- [attachments](groupactivities/groupsessionjournal/attachments-swift.property.md)
- [GroupSessionJournal.Attachments](groupactivities/groupsessionjournal/attachments-swift.struct.md)
