Created
November 10, 2016 09:25
-
-
Save LabN36/09b29d181b7c20d589fff49852943603 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"recipient":{ | |
"id":"938355996293359" | |
}, "message": { | |
"attachment": { | |
"type": "template", | |
"payload": { | |
"template_type": "list", | |
"elements": [ | |
{ | |
"title": "Classic T-Shirt Collection", | |
"image_url": "https://peterssendreceiveapp.ngrok.io/img/collection.png", | |
"subtitle": "See all our colors", | |
"default_action": { | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/shop_collection", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
}, | |
"buttons": [ | |
{ | |
"title": "View", | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/collection", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
} | |
] | |
}, | |
{ | |
"title": "Classic White T-Shirt", | |
"image_url": "https://peterssendreceiveapp.ngrok.io/img/white-t-shirt.png", | |
"subtitle": "100% Cotton, 200% Comfortable", | |
"default_action": { | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/view?item=100", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
}, | |
"buttons": [ | |
{ | |
"title": "Shop Now", | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/shop?item=100", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
} | |
] | |
}, | |
{ | |
"title": "Classic Blue T-Shirt", | |
"image_url": "https://peterssendreceiveapp.ngrok.io/img/blue-t-shirt.png", | |
"subtitle": "100% Cotton, 200% Comfortable", | |
"default_action": { | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/view?item=101", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
}, | |
"buttons": [ | |
{ | |
"title": "Shop Now", | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/shop?item=101", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
} | |
] | |
}, | |
{ | |
"title": "Classic Black T-Shirt", | |
"image_url": "https://peterssendreceiveapp.ngrok.io/img/black-t-shirt.png", | |
"subtitle": "100% Cotton, 200% Comfortable", | |
"default_action": { | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/view?item=102", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
}, | |
"buttons": [ | |
{ | |
"title": "Shop Now", | |
"type": "web_url", | |
"url": "https://peterssendreceiveapp.ngrok.io/shop?item=102", | |
"messenger_extensions": true, | |
"webview_height_ratio": "tall", | |
"fallback_url": "https://peterssendreceiveapp.ngrok.io/" | |
} | |
] | |
} | |
], | |
"buttons": [ | |
{ | |
"title": "View More", | |
"type": "postback", | |
"payload": "payload" | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment