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

# resolveRecipients(for:with:)

Resolves the recipients of the message.

## Declaration

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

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

## Parameters

- `intent`: The intent object containing 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 at some point during your implementation of this method. This block has no return value and takes the following parameter:

## Discussion

Discussion Use this method to verify the identity of the intended recipients. Always strive toward a successful resolution of the specified users, but feel free to ask for confirmation for one or more users if there is some uncertainty. If multiple users match the 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

### Deprecated Methods

- [resolveGroupName(for:with:)](intents/insendmessageintenthandling/resolvegroupname(for:with:).md)
