---
title: "handle(intent:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insendmessageintenthandling/handle(intent:completion:)"
---

# handle(intent:completion:)

Sends the message to the specified recipients.

## Declaration

```swift
func handle(intent: INSendMessageIntent, completion: @escaping @Sendable (INSendMessageIntentResponse) -> Void)
```

```swift
func handle(intent: INSendMessageIntent) async -> INSendMessageIntentResponse
```

## Parameters

- `intent`: The intent object that contains details about the user’s request. The information in this object has already been resolved and confirmed by the user.
- `completion`: The handler block to execute with your response. You must execute this handler while implementing this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Your implementation of this method must send the message to the designated recipients. The response object you provide should indicate the status of the message.
