Dialogflow松弛事件 [英] Dialogflow Slack Events

查看:63
本文介绍了Dialogflow松弛事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Dialoglow和自定义实现来为Slack构建聊天机器人。
当用户打开与Bot的对话框时,我希望接收并处理Slack事件。

Building a chatbot for Slack with Dialoglow and a custom fulfillment. I want to receive and handle the Slack event when the user opens a dialog with Bot.

事件是 im_created

我已经检查了自定义订阅URL(没有Dialoglow),并且能够接收此事件。但是在Dialoglow内部,我没有任何事件。
我想问题在于事件的命名(作为链接)。有人遇到过这个吗?

I've checked on the custom subscription URL (without Dialoglow) and I'm able to receive this event. But inside Dialoglow I don't get any events. I suppose the problem is with the naming of events (attached as a link). Did somebody encounter this?

此外,我没有收到其他任何活动。 Slack内部的请求URL有效且正确(已验证)。

Plus, I don't receive any other events. Request URL inside Slack is valid and correct (verified).

Dialogflow内部事件的命名方式:

How events inside Dialogflow are named:

推荐答案

对话流事件完全独立于 Slack API事件。目前,Dialogflow仅支持来自Slack的欢迎事件,并且不支持您提到的任何事件在您的问题中( im创建的 im-open 等)。

Dialogflow events are completely independant from Slack API Events. Currently, Dialogflow only supports a welcome event from Slack and does not support any events you've mentioned in your question (im-created, im-open, etc.).

这篇关于Dialogflow松弛事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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