Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "attachment": {
- "type": "template",
- "payload": {
- "template_type": "generic",
- "elements": [
- {
- "title": "Breaking News: Record Thunderstorms",
- "subtitle": "The local area is due for record thunderstorms over the weekend.",
- "image_url": "http://placehold.it/300x300?text=Ayyy!",
- "buttons": [
- {
- "type": "element_share",
- "share_contents": {
- "attachment": {
- "type": "template",
- "payload": {
- "template_type": "generic",
- "elements": [
- {
- "title": "I took the hat quiz",
- "subtitle": "My result: Fez",
- "image_url": "http://placehold.it/300x300?text=Ayyy!",
- "default_action": {
- "type": "web_url",
- "url": "http://m.me/petershats?ref=invited_by_24601"
- },
- "buttons": [
- {
- "type": "web_url",
- "url": "http://m.me/petershats?ref=invited_by_24601",
- "title": "Take Quiz"
- }
- ]
- }
- ]
- }
- }
- }
- }
- ]
- }
- ]
- }
- }
- },
- {
- "attachment": {
- "type": "template",
- "payload": {
- "template_type": "generic",
- "elements": [
- {
- "title": "hello world!",
- "image_url": "http://placehold.it/300x300?text=Ayyy!",
- "subtitle": "This works!",
- "default_action": {
- "type": "web_url",
- "url": "www.prime.ai",
- "messenger_extensions": false,
- "webview_height_ratio": "full"
- },
- "buttons": [
- {
- "type": "web_url",
- "url": "https://prime.ai",
- "title": "Visit Prime"
- }
- ]
- }
- ]
- }
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement