<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetRestaurantGuestIntentResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INGetRestaurantGuestIntentResponse"
  },
  "title" : "INGetRestaurantGuestIntentResponse"
}
-->

# INGetRestaurantGuestIntentResponse

Your app’s response to a get restaurant guest intent.

```
class INGetRestaurantGuestIntentResponse
```

## Overview

An [`INGetRestaurantGuestIntentResponse`](/documentation/Intents/INGetRestaurantGuestIntentResponse) object contains the information about the current user along with preferences about whether to associate that user with any new reservations. You create this response when handling or confirming an [`INGetUserCurrentRestaurantReservationBookingsIntent`](/documentation/Intents/INGetUserCurrentRestaurantReservationBookingsIntent) object. Your response should contain information about the current user and information about how to display that user’s information in the interface used to make reservations.

You create an [`INGetRestaurantGuestIntentResponse`](/documentation/Intents/INGetRestaurantGuestIntentResponse) object in the [`confirm(getRestaurantGuest:completion:)`](/documentation/Intents/INGetRestaurantGuestIntentHandling/confirm(getRestaurantGuest:completion:)) and [`handle(getRestaurantGuest:completion:)`](/documentation/Intents/INGetRestaurantGuestIntentHandling/handle(getRestaurantGuest:completion:)) methods of handler object. For more information about implementing your handler object, see [`INGetRestaurantGuestIntentHandling`](/documentation/Intents/INGetRestaurantGuestIntentHandling).

## Topics

### Initializing the Response Object

[`-  initWithCode:userActivity:`](/documentation/Intents/INGetRestaurantGuestIntentResponse/init(code:userActivity:))

Initializes the response object with the specified code and user activity object.

### Getting the Response Code

[`code`](/documentation/Intents/INGetRestaurantGuestIntentResponse/code)

The code indicating whether you successfully handled the intent.

[`INGetRestaurantGuestIntentResponseCode`](/documentation/Intents/INGetRestaurantGuestIntentResponseCode)

Constants indicating the state of the response.

### Specifying the Response Details

[`guest`](/documentation/Intents/INGetRestaurantGuestIntentResponse/guest)

The identity of the person making the reservation.

[`guestDisplayPreferences`](/documentation/Intents/INGetRestaurantGuestIntentResponse/guestDisplayPreferences)

The options for specifying how you want guest information conveyed to the user.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`INIntentResponse`](/documentation/Intents/INIntentResponse)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)