<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.4.0 -",
    "tvOS: 26.4.0 -",
    "visionOS: 26.4.0 -",
    "watchOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LinkPresentation",
  "identifier" : "/documentation/LinkPresentation/LinkMetadata/Attachment",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Link Presentation",
      "LinkPresentation"
    ],
    "preciseIdentifier" : "s:16LinkPresentation0A8MetadataV10AttachmentV"
  },
  "title" : "LinkMetadata.Attachment"
}
-->

# LinkMetadata.Attachment

Describes a kind of attachment to the metadata.

```
nonisolated struct Attachment
```

## Topics

### Type Properties

[`static var icon: LinkMetadata.Attachment`](/documentation/LinkPresentation/LinkMetadata/Attachment/icon)

The descriptor for an icon attachment. The corresponding media type must support the content type of the metadata’s icon data.

[`static var image: LinkMetadata.Attachment`](/documentation/LinkPresentation/LinkMetadata/Attachment/image)

The descriptor for an image attachment. The corresponding media type must support the content type of the metadata’s image data.

[`static var video: LinkMetadata.Attachment`](/documentation/LinkPresentation/LinkMetadata/Attachment/video)

The descriptor for a local video attachment. The corresponding media type must support the content type of the metadata’s local video data.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)