Php Facebook messenger模板列表不适用于messenger应用程序

Php Facebook messenger模板列表不适用于messenger应用程序,php,facebook-messenger-bot,Php,Facebook Messenger Bot,请我需要一些帮助……我正在开发一个Facebook messenger聊天机器人,我对列表模板有问题。当我发送模板时,会收到响应并在web上显示良好,但在messenger应用程序上,所有内容都集中在一个按钮上。任何想法都将不胜感激。谢谢 if($message == "about"){ $answer = ["attachment"=>[ "type"=>"template", "payload"=>[ "template_ty

请我需要一些帮助……我正在开发一个Facebook messenger聊天机器人,我对列表模板有问题。当我发送模板时,会收到响应并在web上显示良好,但在messenger应用程序上,所有内容都集中在一个按钮上。任何想法都将不胜感激。谢谢

   if($message == "about"){
    $answer = ["attachment"=>[
     "type"=>"template",
     "payload"=>[
       "template_type"=>"list",
       "elements"=>[
         [
            "title"=> "Founder",
                   "image_url"=> "https://www.cloudways.com/blog/wp-content/uploads/Migrating-Your-Symfony-Website.jpg",
                   "subtitle"=> "Frederick Angel",
                   "default_action"=> [
                        "type"=> "web_url",
                         "url"=> "https://www.cloudways.com/blog/migrate-symfony-from-cpanel-to-cloud-hosting/",
                         "webview_height_ratio"=> "tall",
                        // "messenger_extensions"=> true
                        // "fallback_url"=> "https://peterssendreceiveapp.ngrok.io/"
                    ],
           "buttons"=>[
             [
               "type"=>"postback",
               "title"=>"Read about him",
               "payload"=>"Frederick Angel",
               "webview_height_ratio"=> "tall",
              //  "messenger_extensions"=>true
             ],
           ]
         ],
           [
           "title"=>"Concepts?",
           "default_action"=> [
                "type"=> "web_url",
                "url"=> "https://www.cloudways.com/blog/migrate-symfony-from-cpanel-to-cloud-hosting/",
                "webview_height_ratio"=> "tall",
                // "messenger_extensions"=> true
                // "fallback_url"=> "https://peterssendreceiveapp.ngrok.io/"
            ],
           "buttons"=>[
             [
               "type"=>"postback",
               "title"=>"Read about it",
               "payload"=>"concepts",
               "webview_height_ratio"=> "tall"
             ],
           ]
         ]
     ]
   ]];
 $template = [
   'recipient' => [ 'id' => $senderId ],
   'message' => $answer
];
  }

控制台中有错误吗?显示一些代码将有助于添加一些代码