是否可以通过环聊中通过Webhook发送的消息@提及机器人? [英] Is it possible to @mention a bot from a message sent via a webhook in Hangouts Chat?
问题描述
我有一个完全实现的机器人,可以为我的小组执行一些事件管理.我们还使用webhook机器人"将系统状态更新发布到同一房间.在某些情况下,我想让Webhook消息@mention
成为完整的漫游器,以启动事件.当我使用自己的user_id
从Webhook测试@mentions
时,它工作正常.当我尝试使用我认为是user_id
的机器人来@mention
时,它不会转换为机器人的用户名 ,并且不会触发事件.
I have a fully implemented bot to perform some incident management for my group. We also use webhook 'bots' to post system status updates to the same room. I would like to have the webhook messages @mention
the full bot to kick off an incident in certain circumstances. When I test @mentions
from the webhook using my own user_id
, it works fine. When I try to @mention
the bot using what looks to me to be its user_id
, it doesn't get translated to the bot's username and it doesn't trigger an event.
还有其他我需要使用的user_id
格式吗?或者现在这还不是可用的功能吗?
Is there some other user_id
format that I need to use or is this simply not an available feature at this time?
推荐答案
I've found that this is by design and is currently marked as "won't fix"
我已将其作为功能请求提交.
这篇关于是否可以通过环聊中通过Webhook发送的消息@提及机器人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!