Core service and application logic.
Core service and application logic.
(-main)
Create the Telegram bot and run the application.
Create the Telegram bot and run the application.
(app bot)
Retrieve and process chat messages.
Retrieve and process chat messages.
(create-bot)
(create-bot token)
Create a Telegram bot instance.
Create a Telegram bot instance.
(edn->searches)
Attempt to load an external edn file into the searches atom.
Attempt to load an external edn file into the searches atom.
(handle-msg bot msg)
Check the message text for command or string matches and handle the message appropriately.
Check the message text for command or string matches and handle the message appropriately.
(poll-updates bot)
(poll-updates bot offset)
Long poll for recent chat messages from Telegram.
Long poll for recent chat messages from Telegram.
(shutdown-service)
Shutdown the service cleanly.
Shutdown the service cleanly.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close