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.
(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.
(get-channels token)
(get-channels token
{exclude-archived :exclude_archived
limit :limit
cursor :cursor
types :types
:or {types (str "public_channel," "private_channel,"
"mpim," "im")
limit 3000
exclude-archived true}})
(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.
(post-attachments bot-token channel attachments)
(post-attachments bot-token channel attachments text)
Post attachments as the bot.
Post attachments as the bot.
(post-blocks bot-token channel blocks)
(post-blocks bot-token channel blocks text)
Post blocks as the bot.
Post blocks as the bot.
(post-message bot-token channel text)
Post a message as the bot.
Post a message as the bot.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close