Kantoor.Chat.File (Kantoor v1.0.0)

A file attached to a chat message. The bytes are in Kantoor.Chat.Storage under storage_key; the row says what they are. When the message is deleted the bytes go and deleted_at is set; the row follows with the message when retention removes it.

Summary

Types

t()

@type t() :: %Kantoor.Chat.File{
  __meta__: term(),
  content_type: term(),
  deleted_at: term(),
  domain: term(),
  domain_id: term(),
  id: term(),
  inserted_at: term(),
  message: term(),
  message_id: term(),
  name: term(),
  room: term(),
  room_id: term(),
  size: term(),
  storage_key: term(),
  user: term(),
  user_id: term()
}