<!--
{
  "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/Action-swift.struct/QueueChange/added(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Group Activities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A12SessionEventV6ActionV11QueueChangeV5addedyA2G4ItemVFZ"
  },
  "title" : "added(_:)"
}
-->

# added(_:)

Returns a queue change for an added item.

```
static func added(_ item: GroupSessionEvent.Action.QueueChange.Item) -> GroupSessionEvent.Action.QueueChange
```

## Parameters

`item`

The item the participant added to the queue.

## Return Value

A type that contains information about the change.

## Discussion

Before showing a notice to the user, call this method to
generate a type for the added item. Pass this type to the
[`updatedQueue(_:)`](/documentation/GroupActivities/GroupSessionEvent/Action-swift.struct/updatedQueue(_:)) method to
create the postable action.

---

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)