Liking cljdoc? Tell your friends :D

clj-slack.chat


deleteclj

(delete connection timestamp channel-id)

Deletes a message.

Deletes a message.
sourceraw docstring

(get-permalink connection channel-id message-ts)

Retrieve a permalink URL for a specific extant message

Retrieve a permalink URL for a specific extant message
sourceraw docstring

post-ephemeralclj

(post-ephemeral connection channel-id text)
(post-ephemeral connection channel-id text optionals)

Sends an ephemeral message to a user in a channel. Optional arguments are:

  • username: name of bot
  • as_user: pass true (as a string) to post the message as the authed user, instead of as a bot
  • parse: change how messages are treated
  • link_names: find and link channel names and usernames
  • blocks: structured message blocks
  • attachments: structured message attachments. (NB: Slack recommends using Blocks instead of legacy attachments: https://api.slack.com/messaging/composing/layouts#secondary-attachments)
  • unfurl_links: pass true to enable unfurling of primarily text-based content
  • unfurl_media: pass false to disable unfurling of media content
  • icon_url: URL to an image to use as the icon for this message
  • icon_emoji: emoji to use as the icon for this message. Overrides icon_url
  • thread_ts: Provide another message's ts value to post this message in a thread. Avoid using a reply's ts value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread.
Sends an ephemeral message to a user in a channel.
Optional arguments are:
- username: name of bot
- as_user: pass true (as a string) to post the message as the authed user, instead of as a bot
- parse: change how messages are treated
- link_names: find and link channel names and usernames
- blocks: structured message blocks
- attachments: structured message attachments. (NB: Slack recommends using Blocks
  instead of legacy attachments:
  https://api.slack.com/messaging/composing/layouts#secondary-attachments)
- unfurl_links: pass true to enable unfurling of primarily text-based content
- unfurl_media: pass false to disable unfurling of media content
- icon_url: URL to an image to use as the icon for this message
- icon_emoji: emoji to use as the icon for this message. Overrides icon_url
- thread_ts: Provide another message's ts value to post this message in a thread. 
  Avoid using a reply's ts value; use its parent's value instead.
  Ephemeral messages in threads are only shown if there is already an active thread.
sourceraw docstring

post-messageclj

(post-message connection channel-id text)
(post-message connection channel-id text optionals)

Sends a message to a channel. Optional arguments are:

  • username: name of bot
  • as_user: pass true (as a string) to post the message as the authed user, instead of as a bot
  • parse: change how messages are treated
  • link_names: find and link channel names and usernames
  • blocks: structured message blocks
  • attachments: structured message attachments. (NB: Slack recommends using Blocks instead of legacy attachments: https://api.slack.com/messaging/composing/layouts#secondary-attachments)
  • unfurl_links: pass true to enable unfurling of primarily text-based content
  • unfurl_media: pass false to disable unfurling of media content
  • icon_url: URL to an image to use as the icon for this message
  • icon_emoji: emoji to use as the icon for this message. Overrides icon_url
Sends a message to a channel.
Optional arguments are:
- username: name of bot
- as_user: pass true (as a string) to post the message as the authed user, instead of as a bot
- parse: change how messages are treated
- link_names: find and link channel names and usernames
- blocks: structured message blocks
- attachments: structured message attachments. (NB: Slack recommends using Blocks
  instead of legacy attachments:
  https://api.slack.com/messaging/composing/layouts#secondary-attachments)
- unfurl_links: pass true to enable unfurling of primarily text-based content
- unfurl_media: pass false to disable unfurling of media content
- icon_url: URL to an image to use as the icon for this message
- icon_emoji: emoji to use as the icon for this message. Overrides icon_url
sourceraw docstring

updateclj

(update connection timestamp channel-id text)

Sends a message to a channel.

Sends a message to a channel.
sourceraw docstring

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

× close