Dialogflow中是否有办法在自定义有效负载响应中添加延迟?

时间:2019-01-17 21:35:47

标签: node.js dialogflow

在smsContent的第二部分中,当传递到Twilio时,文本输出会变得混乱。

{
  "payload": {
    "webContent": "Welcome! I'm here to help you. To get started, I’m going to ask you a few questions to see if you qualify for help. Sound good?",
    "prompts": [
      {
        "type": "button",
        "value": "yes"
      },
      {
        "type": "button",
        "value": "no"
      }
    ],
    "smsContent": [
      "Welcome! I’m here to help you.",
      "To get started, I’m going to ask you a few questions to see if you qualify for help. Sound good?",
      "Please type 'yes' or 'no'"
    ]
  }
}

我想在这两个句子之间增加延迟,但遇到了障碍。

0 个答案:

没有答案