Liking cljdoc? Tell your friends :D

slack-rtm.core


connectclj

(connect connection & initial-subs)

send-eventclj

(send-event dispatcher event)

Sends a RTM event to slack. Send :close to close the connection.

Sends a RTM event to slack. Send :close to close the connection.
raw docstring

startclj

(start connection & initial-subs)

sub-to-eventclj

(sub-to-event publication type)
(sub-to-event publication type ch-or-fn)

Subscribe to slack events with type type. If channel was specified use it to subscribe. Otherwise create an unbuffered channel. An unary function can be supplied instead of a channel, in which case it will be called for every value received from the subscription.

Subscribe to slack events with type type. If channel was specified
use it to subscribe. Otherwise create an unbuffered channel. An unary
function can be supplied instead of a channel, in which case it will
be called for every value received from the subscription.
raw docstring

unsub-from-eventclj

(unsub-from-event publication type ch)

Unsubscribe a channel from the provided event type.

Unsubscribe a channel from the provided event type.
raw docstring

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

× close