I was trying to alert a custom group using incoming webhook in slack.I can able to alert user using <@user>
, but with group any of the following format is not working
<!cgroup>
<@cgroup>
What i am missing here. Thanks in advance.
I got this working by adding a link_names
attribute to my JSON payload. For example, POSTing this to my Slack hook URL:
{
"text": "@myusergroup Hello",
"link_names": 1
}
Caused users in @myusergroup
to be notified by the message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With