(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.
(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.
(unsub-from-event publication type ch)
Unsubscribe a channel from the provided event type.
Unsubscribe a channel from the provided event type.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close