Liking cljdoc? Tell your friends :D

clj-slack.conversations


archiveclj

(archive connection channel-id)

Archives a conversation.

Archives a conversation.
sourceraw docstring

closeclj

(close connection channel-id)

Closes a direct message or multi-person direct message.

Closes a direct message or multi-person direct message.
sourceraw docstring

createclj

(create connection name)
(create connection name optionals)

Initiates a public or private channel-based conversation. Optional arguments are:

  • is_private: create a private channel
  • user_ids: a list of users (1 to 30) that will be added to the conversation
Initiates a public or private channel-based conversation.
Optional arguments are:
- is_private: create a private channel
- user_ids: a list of users (1 to 30) that will be added to the conversation
sourceraw docstring

historyclj

(history connection channel-id)
(history connection channel-id optionals)

Fetches a conversation's history of messages and events. Optional arguments are:

  • cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
  • inclusive: Include messages with latest or oldest timestamp in results only when either timestamp is specified.
  • latest: End of time range of messages to include in results.
  • limit: The maximum number of items to return.
  • oldest: Start of time range of messages to include in results.
Fetches a conversation's history of messages and events.
Optional arguments are:
- cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
- inclusive: Include messages with latest or oldest timestamp in results only when either timestamp is specified.
- latest: End of time range of messages to include in results.
- limit: The maximum number of items to return.
- oldest: Start of time range of messages to include in results.
sourceraw docstring

infoclj

(info connection channel-id)
(info connection channel-id optionals)

Retrieve information about a conversation. Optional arguments are:

  • include_locale: Set this to true to receive the locale for this conversation.
Retrieve information about a conversation.
Optional arguments are:
- include_locale: Set this to true to receive the locale for this conversation.
sourceraw docstring

inviteclj

(invite connection channel-id user-ids)

Invites users to a channel.

Invites users to a channel.
sourceraw docstring

joinclj

(join connection channel-id)

Joins an existing conversation.

Joins an existing conversation.
sourceraw docstring

kickclj

(kick connection channel-id user-id)

Removes a user from a conversation.

Removes a user from a conversation.
sourceraw docstring

leaveclj

(leave connection channel-id)

Leaves a conversation.

Leaves a conversation.
sourceraw docstring

listclj

(list connection)
(list connection optionals)

Lists all channels in a Slack team. Optional arguments are:

  • cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
  • exclude_archived: Set to true to exclude archived channels from the list.
  • limit: The maximum number of items to return.
  • types: Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im
Lists all channels in a Slack team.
Optional arguments are:
- cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
- exclude_archived: Set to true to exclude archived channels from the list.
- limit: The maximum number of items to return.
- types: Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im
sourceraw docstring

membersclj

(members connection channel-id)
(members connection channel-id optionals)

Retrieve members of a conversation. Optional arguments are:

  • cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
  • limit: The maximum number of items to return.
Retrieve members of a conversation.
Optional arguments are:
- cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
- limit: The maximum number of items to return.
sourceraw docstring

openclj

(open connection)
(open connection optionals)

Opens or resumes a direct message or multi-person direct message. Optional arguments are:

  • channel: Resume a conversation by supplying an im or mpim's ID. Or provide the users field instead.
  • return_im: Boolean, indicates you want the full IM channel definition in the response.
  • users: Comma separated lists of users.
Opens or resumes a direct message or multi-person direct message.
Optional arguments are:
- channel: Resume a conversation by supplying an im or mpim's ID. Or provide the users field instead.
- return_im: Boolean, indicates you want the full IM channel definition in the response.
- users: Comma separated lists of users.
sourceraw docstring

renameclj

(rename connection channel-id name)

Renames a conversation.

Renames a conversation.
sourceraw docstring

repliesclj

(replies connection channel-id timestamp)
(replies connection channel-id timestamp optionals)

Lists all channels in a Slack team. Optional arguments are:

  • cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
  • inclusive: Include messages with latest or oldest timestamp in results only when either timestamp is specified.
  • latest: End of time range of messages to include in results.
  • limit: The maximum number of items to return.
  • oldest: Start of time range of messages to include in results.
Lists all channels in a Slack team.
Optional arguments are:
- cursor: Paginate through collections of data by setting the cursor parameter to a next_cursor attribute.
- inclusive: Include messages with latest or oldest timestamp in results only when either timestamp is specified.
- latest: End of time range of messages to include in results.
- limit: The maximum number of items to return.
- oldest: Start of time range of messages to include in results.
sourceraw docstring

set-purposeclj

(set-purpose connection channel-id purpose)

Sets the purpose for a conversation.

Sets the purpose for a conversation.
sourceraw docstring

set-topicclj

(set-topic connection channel-id topic)

Sets the topic for a conversation.

Sets the topic for a conversation.
sourceraw docstring

unarchiveclj

(unarchive connection channel-id)

Unarchives a conversation.

Unarchives a conversation.
sourceraw docstring

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

× close