Twilio.Conversations.V2.Conversation.ActionService (twilio_elixir v0.1.3)

Copy Markdown View Source

Service for Action API operations.

Operations: create

Summary

Functions

Creates an Action within a Conversation. Currently supports SEND_MESSAGE, which sends a message to recipients via the configured channel.

Functions

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

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

Creates an Action within a Conversation. Currently supports SEND_MESSAGE, which sends a message to recipients via the configured channel.

Returns 202 Accepted with the Action in PENDING status. Poll GET /v2/Conversations/{ConversationId}/Actions/{ActionId} to check completion.

Operation: CreateConversationAction | Tags: ConversationsV2Action