Twilio.IpMessaging.V1.ServiceService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for Service API operations.

Operations: list, create, fetch, update, delete

Summary

Functions

Operation: CreateService | Tags: IpMessagingV1Service

Operation: DeleteService | Tags: IpMessagingV1Service

Operation: FetchService | Tags: IpMessagingV1Service

Operation: ListService | Tags: IpMessagingV1Service

Stream: (lazy auto-pagination).

Operation: UpdateService | Tags: IpMessagingV1Service

Functions

create(client, params \\ %{}, opts \\ [])

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

Operation: CreateService | Tags: IpMessagingV1Service

Required Parameters

ParameterTypeDescription
FriendlyNamestring

delete(client, sid, opts \\ [])

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

Operation: DeleteService | Tags: IpMessagingV1Service

fetch(client, sid, opts \\ [])

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

Operation: FetchService | Tags: IpMessagingV1Service

list(client, params \\ %{}, opts \\ [])

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

Operation: ListService | Tags: IpMessagingV1Service

stream(client, params \\ %{}, opts \\ [])

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

Stream: (lazy auto-pagination).

update(client, sid, params \\ %{}, opts \\ [])

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

Operation: UpdateService | Tags: IpMessagingV1Service

Optional Parameters

ParameterTypeDescription
ConsumptionReportIntervalinteger
DefaultChannelCreatorRoleSidstring
DefaultChannelRoleSidstring
DefaultServiceRoleSidstring
FriendlyNamestring
Limits.ChannelMembersinteger
Limits.UserChannelsinteger
Notifications.AddedToChannel.Enabledboolean
Notifications.AddedToChannel.Templatestring
Notifications.InvitedToChannel.Enabledboolean
Notifications.InvitedToChannel.Templatestring
Notifications.NewMessage.Enabledboolean
Notifications.NewMessage.Templatestring
Notifications.RemovedFromChannel.Enabledboolean
Notifications.RemovedFromChannel.Templatestring
PostWebhookUrlstring (uri)
PreWebhookUrlstring (uri)
ReachabilityEnabledboolean
ReadStatusEnabledboolean
TypingIndicatorTimeoutinteger
WebhookFiltersarray
WebhookMethodstring (http-method)Values: GET, POST
Webhooks.OnChannelAdd.Methodstring (http-method)Values: GET, POST
Webhooks.OnChannelAdd.Urlstring (uri)
Webhooks.OnChannelAdded.Methodstring (http-method)Values: GET, POST
Webhooks.OnChannelAdded.Urlstring (uri)
Webhooks.OnChannelDestroy.Methodstring (http-method)Values: GET, POST
Webhooks.OnChannelDestroy.Urlstring (uri)
Webhooks.OnChannelDestroyed.Methodstring (http-method)Values: GET, POST
Webhooks.OnChannelDestroyed.Urlstring (uri)
Webhooks.OnChannelUpdate.Methodstring (http-method)Values: GET, POST
Webhooks.OnChannelUpdate.Urlstring (uri)
Webhooks.OnChannelUpdated.Methodstring (http-method)Values: GET, POST
Webhooks.OnChannelUpdated.Urlstring (uri)
Webhooks.OnMemberAdd.Methodstring (http-method)Values: GET, POST
Webhooks.OnMemberAdd.Urlstring (uri)
Webhooks.OnMemberAdded.Methodstring (http-method)Values: GET, POST
Webhooks.OnMemberAdded.Urlstring (uri)
Webhooks.OnMemberRemove.Methodstring (http-method)Values: GET, POST
Webhooks.OnMemberRemove.Urlstring (uri)
Webhooks.OnMemberRemoved.Methodstring (http-method)Values: GET, POST
Webhooks.OnMemberRemoved.Urlstring (uri)
Webhooks.OnMessageRemove.Methodstring (http-method)Values: GET, POST
Webhooks.OnMessageRemove.Urlstring (uri)
Webhooks.OnMessageRemoved.Methodstring (http-method)Values: GET, POST
Webhooks.OnMessageRemoved.Urlstring (uri)
Webhooks.OnMessageSend.Methodstring (http-method)Values: GET, POST
Webhooks.OnMessageSend.Urlstring (uri)
Webhooks.OnMessageSent.Methodstring (http-method)Values: GET, POST
Webhooks.OnMessageSent.Urlstring (uri)
Webhooks.OnMessageUpdate.Methodstring (http-method)Values: GET, POST
Webhooks.OnMessageUpdate.Urlstring (uri)
Webhooks.OnMessageUpdated.Methodstring (http-method)Values: GET, POST
Webhooks.OnMessageUpdated.Urlstring (uri)