Liking cljdoc? Tell your friends :D

com.blockether.vis.ext.channel-telegram.bot

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.
raw docstring

-mainclj

(-main & _)
source

render-for-telegramclj

(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.
sourceraw docstring

start!clj

(start!)
source

stop!clj

(stop!)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close