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

# RCSService.ReportSpamRequest

A structure that contains information about a spam reporting request for an RCS message.

```
struct ReportSpamRequest
```

## Topics

### Creating a report spam request

[`init(message: RCSMessage, fileContent: Data?, category: RCSService.ReportSpamRequest.Category?, reason: String?)`](/documentation/TelephonyMessagingKit/RCSService/ReportSpamRequest/init(message:fileContent:category:reason:))

### Accessing request properties

[`var message: RCSMessage`](/documentation/TelephonyMessagingKit/RCSService/ReportSpamRequest/message)

The message to report as spam.

[`var fileContent: Data?`](/documentation/TelephonyMessagingKit/RCSService/ReportSpamRequest/fileContent)

The content of the file attachment message.

[`var category: RCSService.ReportSpamRequest.Category?`](/documentation/TelephonyMessagingKit/RCSService/ReportSpamRequest/category-swift.property)

An optional category to classify the spam type of the message.

[`enum Category`](/documentation/TelephonyMessagingKit/RCSService/ReportSpamRequest/Category-swift.enum)

An enumeration of spam types, for use while reporting an RCS message as spam.

[`var reason: String?`](/documentation/TelephonyMessagingKit/RCSService/ReportSpamRequest/reason)

An optional reason to report the message as spam.

## 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)