ExStreamClient.Model.CallSessionResponse (ExStreamClient v0.1.7)

View Source

Schema representing a CallSessionResponse

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.CallSessionResponse{
  accepted_by: %{optional(String.t()) => float()},
  anonymous_participant_count: integer(),
  ended_at: float() | nil,
  id: String.t(),
  live_ended_at: float() | nil,
  live_started_at: float() | nil,
  missed_by: %{optional(String.t()) => float()},
  participants: [ExStreamClient.Model.CallParticipantResponse.t()],
  participants_count_by_role: %{optional(String.t()) => integer()},
  rejected_by: %{optional(String.t()) => float()},
  started_at: float() | nil,
  timer_ends_at: float() | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()