(callback bindings & body)
(callback-fn handler-fn)
(command name bindings & body)
Generate command handler
Generate command handler
(command-fn name handler)
Generate command handler from an update function
Generate command handler from an update function
(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.
(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.
(handlers & handlers)
Create handler by combining several into one
Create handler by combining several into one
(handling request & handlers)
Apply list of handlers to Telegram update
Apply list of handlers to Telegram update
(inline bindings & body)
(inline-fn handler-fn)
(message bindings & body)
(message-fn handler-fn)
(update-fn path handler-fn)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close