ExStreamClient.Model.SharedLocation (ExStreamClient v0.1.13)

View Source

Schema representing a SharedLocation

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.SharedLocation{
  channel: ExStreamClient.Model.Channel.t() | nil,
  channel_cid: String.t(),
  created_at: DateTime.t() | integer() | String.t(),
  created_by_device_id: String.t(),
  end_at: (DateTime.t() | integer() | String.t()) | nil,
  latitude: float() | nil,
  longitude: float() | nil,
  message: ExStreamClient.Model.Message.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()