---
title: targetMessageID
framework: TelephonyMessagingKit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+]
path: telephonymessagingkit/rcsmessage/customreaction/targetmessageid
---

# targetMessageID

The target message ID for the custom reaction.

## Declaration

```swift
var targetMessageID: RCSMessageID
```

## Discussion

Discussion When adding a custom reaction, this property indicates the target message ID for the custom reaction. Your app should store the message ID for the sent message used to add the custom reaction. This is necessary for removing the custom reaction at a later point in time. When removing a custom reaction, this identifier indicates the message ID previously used when adding a custom reaction.
