如何使用 Slack API 发送“@here”?
How do I send "@here" with the Slack API?
我知道我可以用 <@U423DFDE|username>
标记用户,但我不知道如何标记 @here
<!here>
是解决方案。还有其他命令可以使用 <!___>
格式。
查看 this part 官方 Slack 文档以了解所有此类变量的概述。
我用这个:
var message= {
"text": "<!here> test text"
} ;
频道使用 <#idchannel>
,用户名使用 <@memberIdName>
您可以在这里找到:
我知道我可以用 <@U423DFDE|username>
标记用户,但我不知道如何标记 @here
<!here>
是解决方案。还有其他命令可以使用 <!___>
格式。
查看 this part 官方 Slack 文档以了解所有此类变量的概述。
我用这个:
var message= {
"text": "<!here> test text"
} ;
频道使用 <#idchannel>
,用户名使用 <@memberIdName>
您可以在这里找到: