问题
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.
Event is im_created
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?
Plus, I don't receive any other events. Request URL inside Slack is valid and correct (verified).
How events inside Dialogflow are named:
回答1:
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.).
来源:https://stackoverflow.com/questions/51945916/dialogflow-slack-events