Service for Service API operations.
Operations: list, create, fetch, update, delete
Summary
Functions
Operation: CreateService | Tags: IpMessagingV2Service
Operation: DeleteService | Tags: IpMessagingV2Service
Operation: FetchService | Tags: IpMessagingV2Service
Operation: ListService | Tags: IpMessagingV2Service
Stream: (lazy auto-pagination).
Operation: UpdateService | Tags: IpMessagingV2Service
Functions
@spec create(Twilio.Client.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: CreateService | Tags: IpMessagingV2Service
Required Parameters
| Parameter | Type | Description |
|---|---|---|
FriendlyName | string |
@spec delete(Twilio.Client.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: DeleteService | Tags: IpMessagingV2Service
@spec fetch(Twilio.Client.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: FetchService | Tags: IpMessagingV2Service
@spec list(Twilio.Client.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: ListService | Tags: IpMessagingV2Service
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
Stream: (lazy auto-pagination).
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Service.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: UpdateService | Tags: IpMessagingV2Service
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
ConsumptionReportInterval | integer | |
DefaultChannelCreatorRoleSid | string | |
DefaultChannelRoleSid | string | |
DefaultServiceRoleSid | string | |
FriendlyName | string | |
Limits.ChannelMembers | integer | |
Limits.UserChannels | integer | |
Media.CompatibilityMessage | string | |
Notifications.AddedToChannel.Enabled | boolean | |
Notifications.AddedToChannel.Sound | string | |
Notifications.AddedToChannel.Template | string | |
Notifications.InvitedToChannel.Enabled | boolean | |
Notifications.InvitedToChannel.Sound | string | |
Notifications.InvitedToChannel.Template | string | |
Notifications.LogEnabled | boolean | |
Notifications.NewMessage.BadgeCountEnabled | boolean | |
Notifications.NewMessage.Enabled | boolean | |
Notifications.NewMessage.Sound | string | |
Notifications.NewMessage.Template | string | |
Notifications.RemovedFromChannel.Enabled | boolean | |
Notifications.RemovedFromChannel.Sound | string | |
Notifications.RemovedFromChannel.Template | string | |
PostWebhookRetryCount | integer | |
PostWebhookUrl | string (uri) | |
PreWebhookRetryCount | integer | |
PreWebhookUrl | string (uri) | |
ReachabilityEnabled | boolean | |
ReadStatusEnabled | boolean | |
TypingIndicatorTimeout | integer | |
WebhookFilters | array | |
WebhookMethod | string (http-method) | Values: GET, POST |