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

# init(name:image:)

Creates a participant with the name and image you specify.

## Declaration

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

## Parameters

- `name`: The name of the participant.
- `image`: The image you associate with the participant.
