[英]Is there callback available for any RichResponse in Dialogflow
I have a dialogflow requirement to present user a payment link, on the click of which I must hang on 20 seconds (show some busy image or something) and then call on the next Intent.我有一个对话流要求向用户显示支付链接,点击该链接我必须等待 20 秒(显示一些繁忙的图像或其他内容),然后调用下一个 Intent。
So far I have been able to present a link using LinkOutSuggestion/BasicCard button.到目前为止,我已经能够使用 LinkOutSuggestion/BasicCard 按钮呈现一个链接。 But I do not have idea that how I can make my program proceed further.
但是我不知道如何使我的程序进一步进行。 I know there is a approach to have user input something like "Check Payment", but can we skip this altogether and just pass on to next intent post click of that LinkOutSuggestion or BasicCard Button?
我知道有一种方法可以让用户输入“检查付款”之类的内容,但是我们可以完全跳过这个并直接传递到点击 LinkOutSuggestion 或 BasicCard 按钮的下一个意图吗?
The only way you could skip the part of the user having to input something in the chat is by using a Suggestion .您可以跳过用户必须在聊天中输入内容的唯一方法是使用Suggestion 。 These suggestions cannot be added to a card or open a link, but they do continue the conversation with the text that is used, so you could add a suggestion saying Check Payment.
这些建议不能添加到卡片或打开链接,但它们确实会继续使用所使用的文本进行对话,因此您可以添加一个建议,即检查付款。
The linkout suggestion or buttons on card do not support a click event or the possibility to continue the conversation.卡片上的链接建议或按钮不支持点击事件或继续对话的可能性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.