ExStreamClient.Model.SendMessageResponse (ExStreamClient v0.1.7)

View Source

Schema representing a SendMessageResponse

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.SendMessageResponse{
  duration: String.t(),
  message: ExStreamClient.Model.MessageResponse.t(),
  pending_message_metadata: %{optional(String.t()) => String.t()} | 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()