mirror of https://github.com/caronc/apprise
Updated Notify_slack (markdown)
parent
876dd98c20
commit
4c85551f83
|
@ -93,12 +93,14 @@ Send a Slack notification to the channel `#nuxref`:
|
|||
# Assuming our {tokenB} is A1BRTD4JD
|
||||
# Assuming our {tokenC} is TIiajkdnlazkcOXrIdevi7F
|
||||
# our channel nuxref is represented by #nuxref
|
||||
apprise slack:///T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcOXrIdevi7F/#nuxref
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
slack:///T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcOXrIdevi7F/#nuxref
|
||||
```
|
||||
|
||||
Alternatively, if you're using the Bot; a Slack notification sent to the channel `#general` might look like this:
|
||||
```bash
|
||||
# Assuming our {OAuthToken} is xoxb-1234-1234-4ddbc191d40ee098cbaae6f3523ada2d
|
||||
# our channel general is represented by #general
|
||||
apprise slack://xoxb-1234-1234-4ddbc191d40ee098cbaae6f3523ada2d/#general
|
||||
```
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
slack://xoxb-1234-1234-4ddbc191d40ee098cbaae6f3523ada2d/#general
|
||||
```
|
Loading…
Reference in New Issue