对话流的默认响应有效负载是什么.js从 Node 发送


   const payload = {
            payload: {
                google: {
                    expectUserResponse: true,
                    richResponse: {
                        items: [
                            {
                                simpleResponse: {
                                    ssml: 'hi i am vamsi',
                                }
                            }
                        ]
                    },
                },
            },
        };

我正在使用上述有效负载向谷歌助理发送响应。

我想知道作为默认响应发送的有效负载,因为此响应仅显示在谷歌助理上。我需要为每个平台显示默认值。

webhook 响应可以像

{
  "fulfillmentText": "Hi I am Vamsi"
}

最新更新