Telegram frontend for vis - long-polling loop that hands each incoming message to the canonical in-process gateway and ships the answer back.
Each Telegram chat maps to a :telegram gateway session by external chat id.
One process can serve many chats; the gateway serializes asks per-session and
emits the same event/turn machinery used by TUI, web, and transport clients.
Telegram frontend for vis - long-polling loop that hands each incoming message to the canonical in-process gateway and ships the answer back. Each Telegram chat maps to a `:telegram` gateway session by external chat id. One process can serve many chats; the gateway serializes asks per-session and emits the same event/turn machinery used by TUI, web, and transport clients.
(render-for-telegram ir)(render-for-telegram ir opts)Render canonical answer-IR ([:ir & nodes]) to Telegram-flavored
HTML.
STRICT input contract: IR only, mirroring
channel-tui.core/render-for-tui. nil is accepted as the empty
placeholder. Strings, Hiccup vectors, EDN, etc. are programmer
bugs and throw — lift to IR upstream via vis/markdown->ir.
opts forwarded to the IR walker.
Render canonical answer-IR (`[:ir & nodes]`) to Telegram-flavored HTML. STRICT input contract: IR only, mirroring `channel-tui.core/render-for-tui`. `nil` is accepted as the empty placeholder. Strings, Hiccup vectors, EDN, etc. are programmer bugs and throw — lift to IR upstream via `vis/markdown->ir`. `opts` forwarded to the IR walker.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |