# `Twilio.Flex.V1.Interaction.Channel.InteractionChannelParticipantService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/flex/v1/interaction/channel/interaction_channel_participant_service.ex#L2)

Service for InteractionChannelParticipant API operations.

Operations: `list`, `create`, `update`

# `create`

```elixir
@spec create(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok,
   Twilio.Resources.Flex.V1.Interaction.Channel.InteractionChannelParticipant.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Add a Participant to a Channel.

Operation: `CreateInteractionChannelParticipant` | Tags: FlexV1InteractionChannelParticipant

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `MediaProperties` | string | JSON representing the Media Properties for the new Participant. |
| `Type` | string |  Values: `supervisor`, `customer`, `external`, `agent`, `unknown` |
## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `RoutingProperties` | string | Object representing the Routing Properties for the new Participant. |

# `list`

```elixir
@spec list(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

List all Participants for a Channel.

Operation: `ListInteractionChannelParticipant` | Tags: FlexV1InteractionChannelParticipant

# `stream`

```elixir
@spec stream(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  Enumerable.t()
```

Stream: List all Participants for a Channel. (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok,
   Twilio.Resources.Flex.V1.Interaction.Channel.InteractionChannelParticipant.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Update an existing Channel Participant.

Operation: `UpdateInteractionChannelParticipant` | Tags: FlexV1InteractionChannelParticipant

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Status` | string |  Values: `closed`, `wrapup` |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
