---
title: "init(name:image:)"
framework: pushtotalk
role: symbol
role_heading: Initializer
path: "pushtotalk/ptchanneldescriptor/init(name:image:)"
---

# init(name:image:)

Creates a channel descriptor with the name and image you specify.

## Declaration

```swift
init(name: String, image: UIImage?)
```

## Parameters

- `name`: The name of the channel that’s shown in the user interface.
- `image`: The image the system presents in the user interface.
