我正在尝试将履行消息作为Dialogflow的v2APIWebhookResponse的一部分发回。这个有效:仅发送一个FulfillmentText作为我的响应的一部分工作正常(在ActionsonGoogleSimulator中测试应用程序以正确的FulfillmentText值回复):funcrandom(c*gin.Context,wrdialogflow.WebhookRequest){log.Println("Randomactiondetected")fullfillment:=dialogflow.WebhookResponse{FulfillmentText:"foo
我正在尝试将履行消息作为Dialogflow的v2APIWebhookResponse的一部分发回。这个有效:仅发送一个FulfillmentText作为我的响应的一部分工作正常(在ActionsonGoogleSimulator中测试应用程序以正确的FulfillmentText值回复):funcrandom(c*gin.Context,wrdialogflow.WebhookRequest){log.Println("Randomactiondetected")fullfillment:=dialogflow.WebhookResponse{FulfillmentText:"foo