{ "messages": [ {"text": "A continuación las direcciones almacenadas:"}, { "attachment":{ "type":"template", "payload":{ "template_type":"generic", "elements":[ { "title":"Oficina - Cra. 13a #34-57, Bogotá, Colombia", "image_url":"https://maps.googleapis.com/maps/api/staticmap?center=4.622935,-74.06877519999999&zoom=16&size=400x300&markers=color:red%7Clabel:C%7C4.622935,-74.06877519999999", "subtitle":"Oficina 201", "buttons":[ { "url": "http://pastebin.com/raw/bYwUN7un", "type":"json_plugin_url", "title":"Seleccionar" }, { "url": "http://pastebin.com/raw/bYwUN7un", "type":"json_plugin_url", "title":"Modificar" }, { "url": "http://64.251.13.137/~agentico/agntcf/direcciones.php?&act=del&user=rr&name=Oficina", "type":"json_plugin_url", "title":"Borrar" } ] }, { "title":"Apartamento - Cl. 165b #14a-07, Bogotá, Colombia", "image_url":"https://maps.googleapis.com/maps/api/staticmap?center=4.7442327,-74.03540149999999&zoom=16&size=400x300&markers=color:red%7Clabel:C%7C4.7442327,-74.03540149999999", "subtitle":"apto 1611, torre 2, parques de san martin", "buttons":[ { "url": "http://pastebin.com/raw/bYwUN7un", "type":"json_plugin_url", "title":"Seleccionar" }, { "url": "http://pastebin.com/raw/bYwUN7un", "type":"json_plugin_url", "title":"Modificar" }, { "url": "http://64.251.13.137/~agentico/agntcf/direcciones.php?&act=del&user=rr&name=Apartamento", "type":"json_plugin_url", "title":"Borrar" } ] }, { "title":"Agregar dirección", "image_url":"http://64.251.13.137/~agentico/agntcf/address_icon.png", "subtitle":"Aquí puedes agregar una nueva dirección.", "buttons":[ { "type": "show_block", "block_name": "agregar direccion", "title": "Agregar direccion" } ] } ] } } } ] }