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.