Liking cljdoc? Tell your friends :D

clj-telegram-bot

A wrapper for Telegram Bot API using long pooling

Usage

In a REPL:

(use 'telegram.client)

(def commands [["/help" "help"]])

(def req (telegram.client/get-updates "YOUR:API_KEY"))

(def msgs (map #(telegram.client/process-update "YOUR:API_KEY" % commands) (req :result)))

(map #(telegram.client/send-message "YOUR:API_KEY" (first %) (second %)) msgs)

Inspired by https://github.com/thbkrshw/clj-telegram

Can you improve this documentation? These fine people already did:
Alan Meira & Alan Leal
Edit on GitHub

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

× close