Twilio.Chat.V2.Service.BindingService (twilio_elixir v0.1.1)

Copy Markdown View Source

Push notification subscription for users

Operations: list, fetch, delete

Summary

Functions

Operation: DeleteBinding | Tags: ChatV2Binding

Operation: FetchBinding | Tags: ChatV2Binding

Operation: ListBinding | Tags: ChatV2Binding

Functions

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

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

Operation: DeleteBinding | Tags: ChatV2Binding

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

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

Operation: FetchBinding | Tags: ChatV2Binding

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

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

Operation: ListBinding | Tags: ChatV2Binding

Query Parameters

ParameterTypeDescription

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

| BindingType | array | The push technology used by the Binding resources to read. Can be: apn, gcm, or fcm. See push notification configuration for more info. |

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

| Identity | array | The User's identity value of the resources to read. See access tokens for more details. |

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

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

Stream: (lazy auto-pagination).