<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ActivityKit",
  "identifier" : "/documentation/ActivityKit/PushType/channel(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ActivityKit"
    ],
    "preciseIdentifier" : "s:11ActivityKit8PushTypeV7channelyACSSFZ"
  },
  "title" : "channel(_:)"
}
-->

# channel(_:)

A constant to configure a Live Activity that updates its dynamic content for broadcast channels.

```
static func channel(_ name: String) -> PushType
```

## Overview

The channel ID is a base64-encoded string. For information on creating a channel, refer to <doc://com.apple.documentation/documentation/UserNotifications/sending-channel-management-requests-to-apns>. The code snippet below is an example of how to specify that you want to use a broadcast push channel.

```swift
Activity.request(attributes: attributes, 
content: content,
pushType: .channel("c29tZUNoYW5uZWw="))
```

---

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)