Liking cljdoc? Tell your friends :D

clj-slack.chat


deleteclj

(delete connection timestamp channel-id)

Deletes a message.

Deletes a message.
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