显示自己的按钮Dialogflow时出现问题

时间:2020-05-22 13:03:44

标签: dialogflow-es facebook-messenger facebook-messenger-bot

我正在显示一个旋转木马,其中显示汽车的图片和一个我按下时想要的按钮,可以像一条消息一样(例如快速响应)。 但是当我按下按钮时,显然什么也没发生。

有人可以帮助我吗?

谢谢!

{
  "facebook": {
    "attachment": {
      "payload": {
        "template_type": "generic",
        "elements": [


          {
            "image_url": "https://files.desrueda.com/blog/2019/01/Toyota-Supra-2019-1.jpg",
            "subtitle": "Precio: 45000$.",
            "title": "Supra 2020",
            "buttons": [
              {
                "type": "postback",
                "payload": "Supra2020",
                "title": "¡Lo quiero!"
              }
            ]
          },


          {
            "image_url": "https://www.mercedes-benz.com.pe/passengercars/mercedes-benz-cars/models/cla/coupe-c118/design/lines/_jcr_content/swipeableteaserbox/par/swipeableteaser_912116721/asset.MQ6.12.20190905113728.jpeg",
            "subtitle": "Precio: 55000$.",
            "title": "CLA 200 2020",
            "buttons": [
              {
                "type": "postback",
                "payload": "Supra2020",
                "title": "¡Lo quiero!"
              }
            ]
          },


          {
            "image_url": "https://www.economiadigital.es/uploads/s1/63/36/09/5/bmw-serie-3_15_970x597.jpeg",
            "subtitle": "Precio: 50000$.",
            "title": "BMW Serie3 2020",
            "buttons": [
              {
                "type": "postback",
                "payload": "Supra2020",
                "title": "¡Lo quiero!"
              }
            ]
          }





        ]
      },
      "type": "template"
    }
  }
}

0 个答案:

没有答案