---
title: "init(originator:action:url:)"
framework: groupactivities
role: symbol
role_heading: Initializer
path: "groupactivities/groupsessionevent/init(originator:action:url:)"
---

# init(originator:action:url:)

Creates a new event with the specified participant and action details.

## Declaration

```swift
init(originator: Participant, action: GroupSessionEvent.Action, url: URL?)
```

## Parameters

- `originator`: The participant that initiated the event.
- `action`: The action to report for the event. The system uses this value to generate a localized description of the action in the system UI.
- `url`: The location in your app where the action occurred. Specify a universal link into your app that takes the participant to the action details. Specify nil to bring your app to the foreground without navigating to a specific location.
