Liking cljdoc? Tell your friends :D

oc.lib.slack

Make simple (not web socket) Slack Web API HTTP requests and extract the response.

Make simple (not web socket) Slack Web API HTTP requests and extract the response.
raw docstring

alert-paginationclj

(alert-pagination slack-response method & [parameters])

echo-messageclj

(echo-message user-token channel text)
(echo-message user-token channel initial-text reply-text)
(echo-message user-token channel timestamp :guard slack-timestamp? text)

Post a message to a Slack channel -or- a thread of a channel, impersonating the user that authored the message.

A thread is specified by its timestamp.

Optionally can include 2 text messages, the 2nd will be a reply to the first, creating a new thread.

Post a message to a Slack channel -or- a thread of a channel, impersonating the user that authored the message.

A thread is specified by its timestamp.

Optionally can include 2 text messages, the 2nd will be a reply to the first, creating a new thread.
raw docstring

get-channelsclj

(get-channels token)
(get-channels token
              {exclude-archived :exclude_archived
               limit :limit
               cursor :cursor
               types :types
               :or {types "public_channel" limit 1000 exclude-archived true}})

get-dm-channelclj

(get-dm-channel token user-id)

get-event-partiesclj

(get-event-parties app-token event-context)

get-team-infoclj

(get-team-info token)

get-user-infoclj

(get-user-info token user-id)

get-usersclj

(get-users token)

marker-charclj


message-webhookclj

(message-webhook webhook from message)

Send a message to a Slack webhook for monitoring/reporting purposes.

Send a message to a Slack webhook for monitoring/reporting purposes.
raw docstring

post-attachmentsclj

(post-attachments bot-token channel attachments)
(post-attachments bot-token channel attachments text)

Post attachments as the bot.

Post attachments as the bot.
raw docstring

post-blocksclj

(post-blocks bot-token channel blocks)
(post-blocks bot-token channel blocks text)

Post blocks as the bot.

Post blocks as the bot.
raw docstring

post-messageclj

(post-message bot-token channel text)

Post a message as the bot.

Post a message as the bot.
raw docstring

proxy-messageclj

(proxy-message bot-token channel text)
(proxy-message bot-token channel initial-text reply-text)
(proxy-message bot-token channel timestamp :guard slack-timestamp? text)

Post a message to a Slack channel -or- a thread of a channel, using the bot and mentioning the user that authored the message.

A thread is specified by its timestamp.

Optionally can include 2 text messages, the 2nd will be a reply to the first, creating a new thread.

Post a message to a Slack channel -or- a thread of a channel, using the bot and mentioning the user that
authored the message.

A thread is specified by its timestamp.

Optionally can include 2 text messages, the 2nd will be a reply to the first, creating a new thread.
raw docstring

report-slack-errorclj

(report-slack-error body e)
(report-slack-error body e throw?)

slack-apiclj

(slack-api method params)
(slack-api method params options)

slack-reportclj

(slack-report e)

unfurl-post-urlclj

(unfurl-post-url user-token channel ts url-data)

Add data to the url when a Carrot url is posted in slack.

Add data to the url when a Carrot url is posted in slack.
raw docstring

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

× close