---
title: "init(destinationType:contacts:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/instartaudiocallintent/init(destinationtype:contacts:)"
---

# init(destinationType:contacts:)

Creates an intent with the specified information.

## Declaration

```swift
init(destinationType: INCallDestinationType, contacts: [INPerson]?)
```

## Parameters

- `destinationType`: The type of call to place.
- `contacts`: An array of doc://com.apple.sirikit/documentation/Intents/INPerson objects representing the users to call.

## Return Value

Return Value An initialized intent or nil if the object could not be created.

## Discussion

Discussion Normally, you don’t create instances of this class yourself. Instead, Siri creates instances when the user asks to place a call to another user. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.

## See Also

### Creating the Intent Object

- [init(contacts:)](intents/instartaudiocallintent/init(contacts:).md)
