Twilio.IpMessaging.V2.Service.Channel.MessageService
(twilio_elixir v0.1.1)
Copy Markdown
View Source
Service for Message API operations.
Operations: list, create, fetch, update, delete
Summary
Functions
Operation: CreateMessage | Tags: IpMessagingV2Message
Operation: DeleteMessage | Tags: IpMessagingV2Message
Operation: FetchMessage | Tags: IpMessagingV2Message
Operation: ListMessage | Tags: IpMessagingV2Message
Stream: (lazy auto-pagination).
Operation: UpdateMessage | Tags: IpMessagingV2Message
Functions
@spec create(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.Channel.Message.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: CreateMessage | Tags: IpMessagingV2Message
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
Attributes | string | |
Body | string | |
DateCreated | string (date-time) | |
DateUpdated | string (date-time) | |
From | string | |
LastUpdatedBy | string | |
MediaSid | string |
@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: IpMessagingV2Message
@spec fetch(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.Channel.Message.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: FetchMessage | Tags: IpMessagingV2Message
@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: IpMessagingV2Message
Query Parameters
| Parameter | Type | Description |
|---|---|---|
Order | string |
@spec stream(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) :: Enumerable.t()
Stream: (lazy auto-pagination).
@spec update(Twilio.Client.t(), String.t(), String.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.Channel.Message.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: UpdateMessage | Tags: IpMessagingV2Message
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
Attributes | string | |
Body | string | |
DateCreated | string (date-time) | |
DateUpdated | string (date-time) | |
From | string | |
LastUpdatedBy | string |