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:
wasper17 2020-03-10 10:53:43 -04:00 committed by GitHub
parent 0f4435baeb
commit a86df4d035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'>