ExStreamClient.Model.CampaignStatsResponse (ExStreamClient v0.1.7)

View Source

Schema representing a CampaignStatsResponse

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.CampaignStatsResponse{
  progress: float(),
  stats_channels_created: integer(),
  stats_completed_at: float(),
  stats_messages_sent: integer(),
  stats_started_at: float(),
  stats_users_read: integer(),
  stats_users_sent: integer()
}

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