<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/RCSFileTransferMetadata",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit23RCSFileTransferMetadataV"
  },
  "title" : "RCSFileTransferMetadata"
}
-->

# RCSFileTransferMetadata

A structure that contains metadata about an RCS file transfer.

```
struct RCSFileTransferMetadata
```

## Topics

### Accessing file metadata

[`let url: URL`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/url)

The URL for the file.

[`let fileName: String?`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/fileName)

The original name of file.

[`let fileSize: Int`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/fileSize)

The size of the file in bytes.

[`let contentType: UTType?`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/contentType)

The content type of the file.

[`let expirationDate: Date`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/expirationDate)

The expiration date of the file.

[`var playbackLength: Duration?`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/playbackLength)

Playback length of RCS Recorded Audio Message (RRAM).

### Working with file disposition

[`var disposition: RCSFileTransferMetadata.Disposition?`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/disposition-swift.property)

The disposition of the file, indicating how a recipient needs to handle the file.

[`enum Disposition`](/documentation/TelephonyMessagingKit/RCSFileTransferMetadata/Disposition-swift.enum)

An enumeration that represents the disposition of the file, indicating how a receiving app should handle it.

### Encoding and decoding

### Comparing metadata instances

## Relationships

### Conforms To

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

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

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

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

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

---

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)