<!--
{
  "availability" : [
    "iOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10RCSMessageV14CustomReactionV"
  },
  "title" : "RCSMessage.CustomReaction"
}
-->

# RCSMessage.CustomReaction

A structure that represents a custom reaction to an RCS message.

```
struct CustomReaction
```

## Topics

### Initializers

[`init(targetMessageID: RCSMessageID, operation: RCSMessage.CustomReaction.Operation)`](/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction/init(targetMessageID:operation:))

Creates a custom reaction instance with the message identifier and content.

[`init(targetMessageID: RCSMessageID, operation: RCSMessage.CustomReaction.Operation, isEndToEndEncrypted: Bool)`](/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction/init(targetMessageID:operation:isEndToEndEncrypted:))

Creates a custom reaction instance with the message identifier and content.

### Instance Properties

[`var isEndToEndEncrypted: Bool`](/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction/isEndToEndEncrypted)

A Boolean value indicating whether this message is end-to-end encrypted.

[`var operation: RCSMessage.CustomReaction.Operation`](/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction/operation-swift.property)

The operation to perform for the custom reaction.

[`var targetMessageID: RCSMessageID`](/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction/targetMessageID)

The target message ID for the custom reaction.

### Enumerations

[`enum Operation`](/documentation/TelephonyMessagingKit/RCSMessage/CustomReaction/Operation-swift.enum)

## Relationships

### Conforms To

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

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

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

[`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)