mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update slack.markdown (#12272)
* Update slack.markdown Updated per API change - https://api.slack.com/scopes/chat:write * Update formatting * ✏️ Tweak Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
0f4435baeb
commit
a86df4d035
@ -14,11 +14,11 @@ The `slack` platform allows you to deliver notifications from Home Assistant to
|
||||
|
||||
### Bot posting as you
|
||||
|
||||
1. Create a [new app](https://api.slack.com/apps) under your Slack.com account
|
||||
2. Click the `OAuth & Permissions` link in the sidebar, under the Features heading
|
||||
3. In the Scopes section, add the `chat:write:user` scope, `Send messages as user`. If you wish to also be able to include files, you will need to include `files:write:user`. If you get a `missing_scope` error when trying to send a message, check these permissions.
|
||||
4. Scroll up to `OAuth Tokens & Redirect URLs` and click `Install App`
|
||||
5. Copy your `OAuth Access Token` and put that key into your `configuration.yaml` file -- see below
|
||||
1. Create a [new app](https://api.slack.com/apps) under your Slack.com account.
|
||||
2. Click the `OAuth & Permissions` link in the sidebar, under the Features heading.
|
||||
3. In the Scopes section, add the `chat:write` scope, `Send messages as user`. If you get a `missing_scope` error when trying to send a message, check these permissions.
|
||||
4. Scroll up to `OAuth Tokens & Redirect URLs` and click `Install App`.
|
||||
5. Copy your `OAuth Access Token` and put that key into your `configuration.yaml` file -- see below.
|
||||
|
||||
<div class='note'>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user