27

I know I can tag a user with <@U423DFDE|username> but I can't figure out how to tag @here

benwiz
  • 1,567
  • 17
  • 28

2 Answers2

48

<!here> is the solution. There are other commands that work with the <!___> format.

Check out this part of the official Slack documentation for an overview about all such variables.

benwiz
  • 1,567
  • 17
  • 28
4

I use this:

var message= {
    "text": "<!here> test text"
} ;
gakeko betsi
  • 904
  • 1
  • 9
  • 19