Karta.Messaging.Media (Karta v1.0.0)

A file of a message. The bytes are a Karta.Storage blob (messaging/media/<id>), encrypted per object; the row keeps what searches and checks need. ref is the public id (med_ and 28 hex digits), unique per server.

Summary

Types

t()

@type t() :: %Karta.Messaging.Media{
  __meta__: term(),
  blob_key: term(),
  connector: term(),
  connector_id: term(),
  file_name: term(),
  id: term(),
  inserted_at: term(),
  kind: term(),
  message: term(),
  message_id: term(),
  mime: term(),
  occurred_at: term(),
  ref: term(),
  server: term(),
  server_id: term(),
  sha256: term(),
  size: term()
}