Bandwidth.Resources.Calls.Events
Access events associated with a specific call.
Summary↑
find(client, call_id, event_id) | Gets information about one call event |
list(client, call_id) | Gets the list of call events for a call |
Functions
Specs:
- find(Client.t, binary, binary) :: Client.response
Gets information about one call event.
Example:
case Bandwidth.Resources.Calls.Events.find(client, "some-call-id", "some-event-id") do
{:ok, {200, event, _}} -> IO.inspect event
{:error, reason} -> IO.puts "Error: #{reason}"
end
Specs:
- list(Client.t, binary) :: Client.response
Gets the list of call events for a call.
Example:
case Bandwidth.Resources.Calls.Events.list(client, "some-call-id") do
{:ok, {200, events, _}} -> IO.inspect events
{:error, reason} -> IO.puts "Error: #{reason}"
end