---
title: "resolveSpeakableGroupName(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insendmessageintenthandling/resolvespeakablegroupname(for:with:)"
---

# resolveSpeakableGroupName(for:with:)

Resolves the name of the group receiving the message.

## Declaration

```swift
optional func resolveSpeakableGroupName(for intent: INSendMessageIntent, with completion: @escaping @Sendable (INSpeakableStringResolutionResult) -> Void)
```

```swift
optional func resolveSpeakableGroupName(for intent: INSendMessageIntent) async -> INSpeakableStringResolutionResult
```

## 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 Implement this method if your app supports the sending messages to named groups. You can specify a group instead of, or in addition to, individual recipients.

## See Also

### Resolving the Intent Parameters

- [resolveRecipients(for:with:)](intents/insendmessageintenthandling/resolverecipients(for:with:)-609yw.md)
- [resolveOutgoingMessageType(for:with:)](intents/insendmessageintenthandling/resolveoutgoingmessagetype(for:with:).md)
- [resolveContent(for:with:)](intents/insendmessageintenthandling/resolvecontent(for:with:).md)
