Instantly share code, notes, and snippets.
Last active
December 3, 2021 19:24
-
Save kamnan43/8a754e2e665967c43b4829df4dc4a552 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
{ | |
"type": "flex", | |
"altText": "FIFA Home", | |
"contents": { | |
"type": "bubble", | |
"header": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "FIFA World Cup 2018", | |
"size": "xl", | |
"weight": "bold" | |
} | |
] | |
}, | |
"hero": { | |
"type": "image", | |
"url": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRlMelZEBAS_l6RmHoy2wSOf7cLkCFY1oJQdQQdhRyC-JvVJTqb", | |
"size": "full", | |
"aspectRatio": "20:13", | |
"aspectMode": "cover" | |
}, | |
"body": { | |
"type": "box", | |
"layout": "vertical", | |
"spacing": "md", | |
"contents": [ | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"spacing": "sm", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "LIVE !", | |
"size": "lg", | |
"color": "#555555", | |
"weight": "bold", | |
"align": "center" | |
} | |
] | |
}, | |
{ | |
"type": "button", | |
"style": "primary", | |
"action": { | |
"type": "postback", | |
"label": "Portugal 1 : 0 Morocco", | |
"displayText": "Live Report !!", | |
"data": "LIVE" | |
} | |
}, | |
{ | |
"type": "separator", | |
"margin": "lg" | |
}, | |
{ | |
"type": "box", | |
"layout": "vertical", | |
"margin": "lg", | |
"spacing": "sm", | |
"contents": [ | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"spacing": "sm", | |
"contents": [ | |
{ | |
"type": "button", | |
"style": "primary", | |
"action": { | |
"type": "postback", | |
"label": "Last Match", | |
"displayText": "Last Match", | |
"data": "LAST" | |
} | |
}, | |
{ | |
"type": "button", | |
"style": "primary", | |
"action": { | |
"type": "postback", | |
"label": "Next Match", | |
"displayText": "Next Match", | |
"data": "NEXT" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"spacing": "sm", | |
"contents": [ | |
{ | |
"type": "button", | |
"style": "primary", | |
"action": { | |
"type": "postback", | |
"label": "Schedule", | |
"displayText": "Schedule", | |
"data": "SCHEDULE" | |
} | |
}, | |
{ | |
"type": "button", | |
"style": "primary", | |
"action": { | |
"type": "postback", | |
"label": "Table", | |
"displayText": "Table", | |
"data": "TABLE" | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"footer": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "button", | |
"margin": "sm", | |
"action": { | |
"type": "uri", | |
"label": "View Source", | |
"uri": "https://sitthi.me/downloaded/ba5f784d837540dfb40df2d531d7519c.json" | |
}, | |
"style": "secondary" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment