Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 9.49 KB

README.md

File metadata and controls

78 lines (57 loc) · 9.49 KB

Methods

An interface for querying information from and enacting change in a Slack workspace.

Read the docs for explanations of concepts, or explore reference pages for specific functionalities.

Making a request

$ cd src/chat  # Navigate to a method family
$ slack install --environment local  # Create an app
$ vim chat_post_message.py  # Edit arguments
$ export SLACK_TOKEN=xoxb-example  # Set if unchanged
$ slack run chat_post_message.py  # Make the request

What's on call

admin

agents

apps

  • apps.icon.set: Sets the app icon. Implementation.
  • apps.managed.permissions.set: Set who can interact with a managed app. Lets the builder who created a managed app on a partner platform configure the app's permissions, using a user token or bot token from the manager app. Permissions can only be set before the app is installed: if the app is already installed, this method makes no change and returns the app's current permissions. Implementation.

assistant

blocks

canvases

chat

slackbot