Is it possible to @mention a bot from a message sent via a webhook in Hangouts Chat?

不想你离开。 提交于 2019-12-12 01:15:39

问题


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.

Is there some other user_id format that I need to use or is this simply not an available feature at this time?

chat log


回答1:


I've found that this is by design and is currently marked as "won't fix"

I've submitted it as a feature request.



来源:https://stackoverflow.com/questions/53216679/is-it-possible-to-mention-a-bot-from-a-message-sent-via-a-webhook-in-hangouts-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!