Packages

An independent, OTP-native WhatsApp Web client for Elixir — Noise handshake, Signal end-to-end encryption, multi-device.

Retired package: Security issue - CVE-2026-48063: spoofed self-only protocolMessages. Upgrade to >= 0.4.1

Current section

Files

Jump to
amarula lib amarula content revoke.ex
Raw

lib/amarula/content/revoke.ex

defmodule Amarula.Content.Revoke do
@moduledoc """
A received delete-for-everyone (`content` of a `%Amarula.Msg{type: :revoke}`).
* `:key` — the revoked message as a `{jid, msg_id}` ref.
"""
@type t :: %__MODULE__{key: {String.t() | nil, String.t() | nil} | nil}
@enforce_keys [:key]
defstruct [:key]
end