我正在努力寻找Line位置信息 .
我的webhook正在发送操作按钮以提示用户使用位置共享视图,然后将该位置(理论上)发送回Dialogflow,然后再发送到webhook .
但是,当发回来时,位置消息永远不会被Dialogflow或webhook检测/解释 .
我没有看到双方都发生任何事情,好像消息从未发送过一样 .

从webhook发送位置消息,以便用户可以发回他的位置:

{
  "line": {
    "type": "template",
    "altText": "this is a buttons template",
    "template": {
      "type": "buttons",
      "thumbnailImageUrl": "https://example.com/bot/images/image.jpg",
      "title": "Menu",
      "text": "Please select",
      "actions": [
        {
          "type": "uri",
          "label": "View detail",
          "uri": "line://nv/location"
        }
      ]
    }
  }
}

如Line的Messaging API Reference中所述,用户发送的位置消息应如下所示:

{
    "type": "location",
    "title": "my location",
    "address": "〒150-0002 東京都渋谷区渋谷2丁目21−1",
    "latitude": 35.65910807942215,
    "longitude": 139.70372892916203
}

我不明白为什么没有发生任何事情,如果有人作为一个想法,请帮助我 .
谢谢 !