ExStreamClient.Model.ChatSharedLocationResponseData (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a ChatSharedLocationResponseData

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.ChatSharedLocationResponseData{
  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(),
  longitude: float(),
  message: ExStreamClient.Model.ChatMessageResponse.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()