Twilio.Sync.V1.Service.Stream.MessageService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for Message API operations.

Operations: create

Summary

Functions

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

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

Create a new Stream Message.

Operation: CreateStreamMessage | Tags: SyncV1StreamMessage

Required Parameters

ParameterTypeDescription

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

| Data | string | A JSON string that represents an arbitrary, schema-less object that makes up the Stream Message body. Can be up to 4 KiB in length. |