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

# RCSService.FileUploadRequest

A structure that represents an RCS file upload request.

```
struct FileUploadRequest
```

## Topics

### Creating a file upload request

[`init(cellularServiceID: CellularServiceID, fileURL: URL, contentType: UTType?, thumbnailURL: URL?, thumbnailContentType: UTType?)`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/init(cellularServiceID:fileURL:contentType:thumbnailURL:thumbnailContentType:))

Creates a new file upload request with the given parameters.

### Accessing upload request properties

[`var cellularServiceID: CellularServiceID`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/cellularServiceID)

The service identifier associated with this request.

[`var fileURL: URL`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/fileURL)

The URL of the file to upload.

[`var contentType: UTType?`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/contentType)

The content type of the file.

[`var thumbnailURL: URL?`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/thumbnailURL)

An optional file URL for a thumbnail image.

[`var thumbnailContentType: UTType?`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/thumbnailContentType)

The content type of the thumbnail.

### Accessing upload metadata

[`struct Metadata`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/Metadata)

A structure that contains upload metadata from the content server.

### Supporting RCS encryption

[`var isEndToEndEncrypted: Bool`](/documentation/TelephonyMessagingKit/RCSService/FileUploadRequest/isEndToEndEncrypted)

A Boolean value indicating whether this request should be end-to-end encrypted.
If the service does not support end-to-end encryption, the operation will throw [`RCSService.Error.endToEndEncryptionNotSupported`](/documentation/TelephonyMessagingKit/RCSService/Error/endToEndEncryptionNotSupported).

## Relationships

### Conforms To

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

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

---

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)