API Reference Slink v#0.1.0

Copy Markdown View Source

Modules

A lightweight Slack bot toolkit.

A thin Slack Web API client built on Req.

The context passed to Slink.handle_event/2.

A Slack event, normalised into one shape regardless of transport.

Events API transport: a Plug that receives Slack's HTTP event callbacks.

A tiny example bot. Replies to app_mention events and logs everything else.

Per-channel outbound rate limiting for Slack Web API calls.

A single channel's outbound queue. Drains one request, then waits the configured interval before the next — so a channel never exceeds Slack's ~1 msg/sec limit. One of these runs per channel under Slink.Rate.Supervisor.

Socket Mode transport: a GenServer that keeps a WebSocket open to Slack.