Dialogflow Messenger 的 Web 链接自定义负载不起作用

问题描述

为什么无法在 DialogFlow Messenger 下显示以下 Web 链接自定义负载

enter image description here

解决方法

您能否尝试使用以下自定义有效负载。看起来对我有用。

    if i - 1 >= 0 and nums[i - 1] == nums[i]:
        continue

enter image description here

所以点击信息项标题就会重定向到指定的链接。

如果您有任何疑问,请告诉我。

参考:https://cloud.google.com/dialogflow/es/docs/integrations/dialogflow-messenger