如何在发布消息时使用Slack API提及@channel(所有团队成员) [英] How to mention @channel(All the team members) using slack api while post message

查看:318
本文介绍了如何在发布消息时使用Slack API提及@channel(所有团队成员)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用api在松弛状态下发布消息.我如何才能像闲聊中的@channel一样提及该频道的所有团队成员?

I want to post a message in slack using api. How can I mention all the team members of a channel just like @channel in slack?

推荐答案

您可以使用<!channel>.

示例

您可以在变量下的 Slack文档中查看所有可能的提及.

You can see all the possible @mentions in Slack documentation under Variables

这篇关于如何在发布消息时使用Slack API提及@channel(所有团队成员)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆