是否可以通过环聊中通过Webhook发送的消息@提及机器人? [英] Is it possible to @mention a bot from a message sent via a webhook in Hangouts Chat?

查看:144
本文介绍了是否可以通过环聊中通过Webhook发送的消息@提及机器人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个完全实现的机器人,可以为我的小组执行一些事件管理.我们还使用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屋!

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