Amarula.Content.Keep (amarula v0.4.5)

View Source

A received keep-in-chat / undo (content of a %Amarula.Msg{type: :keep}).

  • :key — the kept message as a {jid, msg_id} ref.
  • :kept?true to keep, false to undo a keep.

Summary

Types

t()

@type t() :: %Amarula.Content.Keep{
  kept?: boolean(),
  key: {String.t() | nil, String.t() | nil} | nil
}