<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSetMessageAttributeIntentResponseCode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:@E@INSetMessageAttributeIntentResponseCode"
  },
  "title" : "INSetMessageAttributeIntentResponseCode"
}
-->

# INSetMessageAttributeIntentResponseCode

Constants that indicate the response state.

```
enum INSetMessageAttributeIntentResponseCode
```

## Topics

### Response State

[`case unspecified`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/unspecified)

An unknown response code.

[`case ready`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/ready)

The app is ready to handle the intent.

[`case inProgress`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/inProgress)

You are ready to handle the intent.

[`case success`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/success)

You successfully handled the intent.

[`case failure`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/failure)

You are unable to modify the messages.

[`case failureRequiringAppLaunch`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/failureRequiringAppLaunch)

The user must launch your app to modify the messages.

[`case failureMessageNotFound`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/failureMessageNotFound)

One or more of the specified messages were not found.

[`case failureMessageAttributeNotSet`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/failureMessageAttributeNotSet)

The message attributes couldn’t be modified.

### Initializers

[`init?(rawValue: Int)`](/documentation/Intents/INSetMessageAttributeIntentResponseCode/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)