# `BaileysEx.BinaryNode`
[🔗](https://github.com/jeffhuen/baileys_ex/blob/main/lib/baileys_ex/types.ex#L26)

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).

# `t`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
