---
title: INSetMessageAttributeIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/insetmessageattributeintentresponse
---

# INSetMessageAttributeIntentResponse

Your app’s response to a set message attribute intent.

## Declaration

```swift
class INSetMessageAttributeIntentResponse
```

## Overview

Overview An INSetMessageAttributeIntentResponse object contains the status of modifying the specified messages. You create instances of this class when confirming or handling a set message attribute intent. You create an INSetMessageAttributeIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your set message attribute handler object. For more information about implementing your handler object, see INSetMessageAttributeIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/insetmessageattributeintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/insetmessageattributeintentresponse/code.md)
- [INSetMessageAttributeIntentResponseCode](intents/insetmessageattributeintentresponsecode.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Setting Message Attributes

- [INSetMessageAttributeIntentHandling](intents/insetmessageattributeintenthandling.md)
- [INSetMessageAttributeIntent](intents/insetmessageattributeintent.md)
