Liking cljdoc? Tell your friends :D

morse.handlers


callbackcljmacro

(callback bindings & body)

callback-fnclj

(callback-fn handler-fn)

commandcljmacro

(command name bindings & body)

Generate command handler

Generate command handler
raw docstring

command-fnclj

(command-fn name handler)

Generate command handler from an update function

Generate command handler from an update function
raw docstring

command?clj

(command? update name)

Checks if message is a command with a name. /stars and /st are considered different.

Checks if message is a command with a name.
/stars and /st are considered different.
raw docstring

defhandlercljmacro

(defhandler name & routes)

Define a Telegram handler function from a sequence of handlers. The name may optionally be followed by a doc-string and metadata map.

Define a Telegram handler function from a sequence of handlers.
The name may optionally be followed by a doc-string and metadata map.
raw docstring

handlersclj

(handlers & handlers)

Create handler by combining several into one

Create handler by combining several into one
raw docstring

handlingclj

(handling request & handlers)

Apply list of handlers to Telegram update

Apply list of handlers to Telegram update
raw docstring

inlinecljmacro

(inline bindings & body)

inline-fnclj

(inline-fn handler-fn)

messagecljmacro

(message bindings & body)

message-fnclj

(message-fn handler-fn)

update-fnclj

(update-fn path handler-fn)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close