BaileysEx.BinaryNode (baileys_ex v0.1.0-alpha.7)

Copy Markdown View Source

WhatsApp's wire format node — a compact binary encoding of XML-like structures.

Each node has a tag (string), attributes (map), and content (child nodes or binary data).

Summary

Types

t()

@type t() :: %BaileysEx.BinaryNode{
  attrs: %{required(String.t()) => String.t()},
  content: [t()] | {:binary, binary()} | binary() | nil,
  tag: String.t()
}