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

# targetMessageID

The target message ID for the reaction.

## Declaration

```swift
var targetMessageID: RCSMessageID
```

## Discussion

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