---
title: INSetMessageAttributeIntentHandling
framework: intents
role: symbol
role_heading: Protocol
path: intents/insetmessageattributeintenthandling
---

# INSetMessageAttributeIntentHandling

An interface that handles modifying message attributes.

## Declaration

```swift
protocol INSetMessageAttributeIntentHandling : NSObjectProtocol
```

## Mentioned in

Dispatching intents to handlers

## Overview

Overview Use the methods of the INSetMessageAttributeIntentHandling protocol to resolve, confirm, and handle requests to modify attributes of a user’s messages. Adopt this protocol in an object of your Intents extension that is capable of updating the state of messages, such as whether a user has read or flagged the message. Siri delivers an INSetMessageAttributeIntent object to your handler when the user asks to modify one or more messages. The provided intent object contains the identifier strings for the messages to modify and information about which attributes to set. Use the methods of this protocol to resolve whether you can modify the messages in the intended way and to make the modifications.

## Topics

### Resolving the Intent Parameters

- [resolveAttribute(for:with:)](intents/insetmessageattributeintenthandling/resolveattribute(for:with:).md)

### Confirming the Response

- [confirm(intent:completion:)](intents/insetmessageattributeintenthandling/confirm(intent:completion:).md)

### Handling the Intent

- [handle(intent:completion:)](intents/insetmessageattributeintenthandling/handle(intent:completion:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Inherited By

- [INMessagesDomainHandling](intents/inmessagesdomainhandling.md)

## See Also

### Setting Message Attributes

- [INSetMessageAttributeIntent](intents/insetmessageattributeintent.md)
- [INSetMessageAttributeIntentResponse](intents/insetmessageattributeintentresponse.md)
