# `Twilio.Proxy.V1.Service.Session.Participant.MessageInteractionService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/proxy/v1/service/session/participant/message_interaction_service.ex#L2)

Service for MessageInteraction API operations.

Operations: `list`, `create`, `fetch`

# `create`

```elixir
@spec create(Twilio.Client.t(), String.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok,
   Twilio.Resources.Proxy.V1.Service.Session.Participant.MessageInteraction.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
Create a new message Interaction to send directly from your system to one [Participant](https://www.twilio.com/docs/proxy/api/participant).  The `inbound` properties for the Interaction will always be empty.

Operation: `CreateMessageInteraction` | Tags: ProxyV1MessageInteraction

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Body` | string | The message to send to the participant |
| `MediaUrl` | array | Reserved. Not currently supported. |

# `fetch`

```elixir
@spec fetch(
  Twilio.Client.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok,
   Twilio.Resources.Proxy.V1.Service.Session.Participant.MessageInteraction.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchMessageInteraction` | Tags: ProxyV1MessageInteraction

# `list`

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

Operation: `ListMessageInteraction` | Tags: ProxyV1MessageInteraction

# `stream`

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

Stream:  (lazy auto-pagination).

---

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