# `Twilio.IpMessaging.V1.Service.Channel.MessageService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/ipmessaging/v1/service/channel/message_service.ex#L2)

Service for Message API operations.

Operations: `list`, `create`, `fetch`, `update`, `delete`

# `create`

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

Operation: `CreateMessage` | Tags: IpMessagingV1Message

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Body` | string |  |
## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Attributes` | string |  |
| `From` | string |  |

# `delete`

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

Operation: `DeleteMessage` | Tags: IpMessagingV1Message

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.IpMessaging.V1.Service.Channel.Message.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchMessage` | Tags: IpMessagingV1Message

# `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()}
```

Operation: `ListMessage` | Tags: IpMessagingV1Message

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Order` | string |  |

# `stream`

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

Stream:  (lazy auto-pagination).

# `update`

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

Operation: `UpdateMessage` | Tags: IpMessagingV1Message

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Attributes` | string |  |
| `Body` | string |  |

---

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