---
title: "resolveGuest(for:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inbookrestaurantreservationintenthandling/resolveguest(for:completion:)"
---

# resolveGuest(for:completion:)

Resolves the identity of the guest associated with the reservation.

## Declaration

```swift
optional func resolveGuest(for intent: INBookRestaurantReservationIntent, completion: @escaping @Sendable (INRestaurantGuestResolutionResult) -> Void)
```

```swift
optional func resolveGuest(for intent: INBookRestaurantReservationIntent) async -> INRestaurantGuestResolutionResult
```

## 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 Implement this method to resolve the contact person for the reservation. The resolved guess is not necessarily the person who created the reservation.

## See Also

### Resolving the Intent Parameters

- [resolveRestaurant(for:completion:)](intents/inbookrestaurantreservationintenthandling/resolverestaurant(for:completion:).md)
- [resolveBookingDateComponents(for:completion:)](intents/inbookrestaurantreservationintenthandling/resolvebookingdatecomponents(for:completion:).md)
- [resolvePartySize(for:completion:)](intents/inbookrestaurantreservationintenthandling/resolvepartysize(for:completion:).md)
- [resolveGuestProvidedSpecialRequestText(for:completion:)](intents/inbookrestaurantreservationintenthandling/resolveguestprovidedspecialrequesttext(for:completion:).md)
