Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 26214

Incoming WebHook Integration:

$
0
0

Hi,
Using your code:
* "payload={\"username\":\"MyUserName\",\"text\": \"$(echo $LINE | sed "s/\"/'/g")\"}" "$2";

So simply repeat that for each section:
\"prop\":\"propValue\",

Where prop is your property name (username, channel, icon_url) and propValue is the corresponding value. Remeber the , to separate each item.


Viewing all articles
Browse latest Browse all 26214

Trending Articles