mirror of
https://github.com/caronc/apprise.git
synced 2024-12-13 10:21:51 +01:00
typo - to many colons (:); refs #3
parent
2e8d87f354
commit
71eebfa362
@ -20,26 +20,26 @@ The last part of the URL you're given make up the 3 tokens you need to send noti
|
||||
|
||||
### Syntax
|
||||
Valid syntaxes are as follows:
|
||||
* **slack**:://**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel}**
|
||||
* **slack**:://**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel1}**/**#{channel2}**/**#{channelN}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel1}**/**#{channel2}**/**#{channelN}**
|
||||
* **slack**://**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel}**
|
||||
* **slack**://**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel1}**/**#{channel2}**/**#{channelN}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**#{channel1}**/**#{channel2}**/**#{channelN}**
|
||||
|
||||
If you know the *Encoded-ID* of the channel you wish to access, you can use the plus (+) symbol to identify these separately from channels in the url. Valid syntaxes are as follows:
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id1}**/**+{encoded_id2}**/**+{encoded_id3}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id1}**/**+{encoded_id2}**/**+{encoded_id3}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id1}**/**+{encoded_id2}**/**+{encoded_id3}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**+{encoded_id1}**/**+{encoded_id2}**/**+{encoded_id3}**
|
||||
|
||||
If you know the user_id you wish to transmit your slack notification to (instead of a channel), you can use the at symbol (@) to do this with. Valid syntaxes are as follows:
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id1}**/**@{user_id2}**/**@{user_id3}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id1}**/**@{user_id2}**/**@{user_id3}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id1}**/**@{user_id2}**/**@{user_id3}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id1}**/**@{user_id2}**/**@{user_id3}**
|
||||
|
||||
You can freely mix and match all of the combinations in any order as well:
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**/**#{channel}**/**+{encoded_id}**
|
||||
* **slack**:://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**/**#{channel}**/**+{encoded_id}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**/**#{channel}**/**+{encoded_id}**
|
||||
* **slack**://**{botname}**@**{tokenA}**/**{tokenB}**/**{tokenC}**/**@{user_id}**/**#{channel}**/**+{encoded_id}**
|
||||
|
||||
### Parameter Breakdown
|
||||
| Variable | Required | Description
|
||||
|
Loading…
Reference in New Issue
Block a user