[英]notifying @channel in slack via azure logic app
I tried notifying the user in a channel using user ID (for eg. hey <@U123456|bob>, how are you?). 我尝试使用用户ID在频道中通知用户(例如,嘿<@ U123456 | bob>,你好吗?)。 here @U123456 is the user ID.
@ U123456是用户ID。 This is getting notified by the user.
这是由用户通知的。
But when i try to notify <@C123456|channel>, its not notifying. 但是,当我尝试通知<@ C123456 | channel>时,会进行通知。 here @C123456 is the channel ID and channel is the default tag that is used to notify all the users in that channel.
此处@ C123456是通道ID,而channel是用于通知该通道中所有用户的默认标记。
@channel is used to notify all the users in a particular channel. @channel用于通知特定频道中的所有用户。 I am failing at it.
我做不到。
Please help. 请帮忙。
Can you try using the actual channel name instead of the default channel tag? 您可以尝试使用实际的频道名称代替默认的频道标签吗?
<@C123456| <@ C123456 | REALCHANNELNAME >
REALCHANNELNAME >
The problem has been resolved, 这个问题已经解决,
<@C1234567> isn't a valid way to notify a channel, instead use <!channel>
within that channel to trigger a notification. <@ C1234567>不是通知频道的有效方法,而是在该频道中使用
<!channel>
来触发通知。
https://api.slack.com/docs/message-formatting#variables https://api.slack.com/docs/message-formatting#variables
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.