A Messaging Service resource to add, fetch or remove short code numbers from a Messaging Service.
Operations: list, create, fetch, delete
Summary
Functions
Operation: CreateShortCode | Tags: MessagingV1ShortCode
Operation: DeleteShortCode | Tags: MessagingV1ShortCode
Operation: FetchShortCode | Tags: MessagingV1ShortCode
Operation: ListShortCode | Tags: MessagingV1ShortCode
Stream: (lazy auto-pagination).
Functions
@spec create(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.Messaging.V1.Service.ShortCode.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: CreateShortCode | Tags: MessagingV1ShortCode
Required Parameters
| Parameter | Type | Description |
|---|---|---|
ShortCodeSid | string | The SID of the ShortCode resource being added to the Service. |
@spec delete(Twilio.Client.t(), String.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: DeleteShortCode | Tags: MessagingV1ShortCode
@spec fetch(Twilio.Client.t(), String.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.Messaging.V1.Service.ShortCode.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: FetchShortCode | Tags: MessagingV1ShortCode
@spec list(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: ListShortCode | Tags: MessagingV1ShortCode
@spec stream(Twilio.Client.t(), String.t(), map(), keyword()) :: Enumerable.t()
Stream: (lazy auto-pagination).