Service for Channel API operations.
Operations: list, fetch, update, delete
Summary
Functions
Operation: DeleteUserChannel | Tags: IpMessagingV2UserChannel
Operation: FetchUserChannel | Tags: IpMessagingV2UserChannel
Operation: ListUserChannel | Tags: IpMessagingV2UserChannel
Stream: (lazy auto-pagination).
Operation: UpdateUserChannel | Tags: IpMessagingV2UserChannel
Functions
@spec delete(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: DeleteUserChannel | Tags: IpMessagingV2UserChannel
@spec fetch(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.User.Channel.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: FetchUserChannel | Tags: IpMessagingV2UserChannel
@spec list(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: ListUserChannel | Tags: IpMessagingV2UserChannel
@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.User.Channel.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: UpdateUserChannel | Tags: IpMessagingV2UserChannel
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
LastConsumedMessageIndex | integer | |
LastConsumptionTimestamp | string (date-time) | |
NotificationLevel | string | Values: default, muted |