ExTwilio.Participant

Represents an Participant resource in the Twilio API.

Examples

Since Participants belong to Conferences in the Twilio API, you must pass a conference to each function in this module. For example:

ExTwilio.Participant.list(conference: "conference_sid")

Summary

Underscored and lowercased collection name for a given resource. Delegates the real work to ExTwilio.Api.resource_collection_name/1 by default

CamelCase resource name as it would be used in Twilio's API. Delegates the real work to ExTwilio.Api.resource_name/1 by default

Functions

all(options \\ [])

Specs

all(list) :: [%{}]
children()

Specs

children :: list
destroy(sid, options \\ [])
find(sid, options \\ [])

Specs

new()

Specs

new :: %ExTwilio.Participant{account_sid: term, call_sid: term, conference_sid: term, date_created: term, date_updated: term, end_conference_on_exit: term, muted: term, start_conference_on_enter: term, uri: term}
new(attrs)

Specs

new(list) :: %ExTwilio.Participant{account_sid: term, call_sid: term, conference_sid: term, date_created: term, date_updated: term, end_conference_on_exit: term, muted: term, start_conference_on_enter: term, uri: term}
parents()

Specs

parents :: list
resource_collection_name()

Underscored and lowercased collection name for a given resource. Delegates the real work to ExTwilio.Api.resource_collection_name/1 by default.

Override in your module before use ExTwilio.Resource if you need something different.

resource_name()

CamelCase resource name as it would be used in Twilio's API. Delegates the real work to ExTwilio.Api.resource_name/1 by default.

Override in your module before use ExTwilio.Resource if you need something different.

stream(options \\ [])
update(sid, data, options \\ [])

Specs

update(String.t, list, list) :: ExTwilio.Parser.parsed_response