---
title: "init(groupName:groupId:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/incallgroup/init(groupname:groupid:)"
---

# init(groupName:groupId:)

Creates a call record with the group details.

## Declaration

```swift
init(groupName: String?, groupId: String?)
```

## Parameters

- `groupName`: The name contributed the user to their group call. This field can be nil.
- `groupId`: A unique identifier that disguishes call groups. This field can be nil.

## Return Value

Return Value An initialized INCallGroup object or nil if the user did not initialize the object.
