---
title: "resolveRecipients(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insendmessageintenthandling/resolverecipients(for:with:)-609yw"
---

# resolveRecipients(for:with:)

Resolves the user’s input when it isn’t clear who the recipients of the message are.

## Declaration

```swift
optional func resolveRecipients(for intent: INSendMessageIntent, with completion: @escaping @Sendable ([INSendMessageRecipientResolutionResult]) -> Void)
```

```swift
optional func resolveRecipients(for intent: INSendMessageIntent) async -> [INSendMessageRecipientResolutionResult]
```

## Parameters

- `intent`: The intent object that contains details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The block to execute with the resolution. You must execute this block while implementing this method. This block has no return value and takes the following parameter:

## Discussion

Discussion This method verifies the identity of the intended recipients. Always strive toward a successful resolution of the specified users, but ask for confirmation for one or more users if there is some uncertainty. If multiple users match a single recipient, you might ask for disambiguation of the most likely candidates. When disambiguating users, provide as few choices as possible. If you find more than five possible users, consider another resolution.

## See Also

### Resolving the Intent Parameters

- [resolveOutgoingMessageType(for:with:)](intents/insendmessageintenthandling/resolveoutgoingmessagetype(for:with:).md)
- [resolveContent(for:with:)](intents/insendmessageintenthandling/resolvecontent(for:with:).md)
- [resolveSpeakableGroupName(for:with:)](intents/insendmessageintenthandling/resolvespeakablegroupname(for:with:).md)
