<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupSessionEvent/init(originator:action:url:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Group Activities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A12SessionEventV10originator6action3urlAcA11ParticipantV_AC6ActionV10Foundation3URLVSgtcfc"
  },
  "title" : "init(originator:action:url:)"
}
-->

# init(originator:action:url:)

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

```
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.

---

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)