# `ExWapp.MessageHandler`
[🔗](https://github.com/elchemista/ex_wapp/blob/v0.1.5/lib/ex_wapp/message/message_handler.ex#L1)

High-level router for incoming WhatsApp nodes.

The heavy parsing, decryption, sync ingestion, and receipt logic now lives in
`ExWapp.Message.Handler.*` modules under `lib/ex_wapp/message/handler/`.
This module stays focused on dispatching node tags to the right domain
handler.

# `handler_result`

```elixir
@type handler_result() :: {:ok, map()} | {:ok, map(), [term()]} | {:error, term()}
```

# `handle_node`

```elixir
@spec handle_node(ExWapp.Binary.Node.t(), pid(), map()) :: handler_result()
```

Handles an incoming node and updates session state.

---

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