ExStreamClient.Model.SharedLocationResponse (ExStreamClient v0.1.13)

View Source

Schema representing a SharedLocationResponse

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.SharedLocationResponse{
  channel: ExStreamClient.Model.ChannelResponse.t() | nil,
  channel_cid: String.t(),
  created_at: DateTime.t() | integer() | String.t(),
  created_by_device_id: String.t(),
  duration: String.t(),
  end_at: (DateTime.t() | integer() | String.t()) | nil,
  latitude: float(),
  longitude: float(),
  message: ExStreamClient.Model.MessageResponse.t() | nil,
  message_id: String.t(),
  updated_at: DateTime.t() | integer() | String.t(),
  user_id: String.t()
}

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()