API Reference RaxolGateway v#0.2.0

Copy Markdown View Source

Modules

The contract every platform implements to plug into the gateway.

Holds one connection to the Discord Gateway (v10, JSON encoding) and hands each dispatch frame to a caller-supplied function.

Mint.WebSocket-backed transport for the Discord gateway socket.

Pure codec for Discord Gateway v10 JSON frames.

Raxol.Gateway.Adapter implementation for email, both directions.

Polls a mailbox for new messages and hands each raw message to a caller-supplied function.

Remembers the last inbound message per email conversation so an outbound reply can thread against it.

A reference Raxol.Gateway.Adapter with no external platform.

Sends a rendered outbound message to one of four destinations.

The per-chat logic a Raxol.Gateway.Session runs.

A Raxol.Gateway.Handler that runs a full TEA app per chat under environment: :gateway.

DM pairing codes and the gateway's authorization decision.

Feed-loop stage that turns a voice media event into a %{text: transcript} event before it is routed.

Where a message comes from and goes back to.

One process per chat.

Routes inbound events to per-chat sessions, one process per chat.

The gateway daemon: pairing, a session DynamicSupervisor, and the router.

Unified messaging gateway for Raxol.