JSON ข้อความ · Message objectflexlay-event-workshop-rsvp.json
{
"type": "flex",
"altText": "คำเชิญเวิร์กช็อป Latte Art สำหรับมือใหม่ ส. 10 ม.ค. 2570 กรุณาตอบรับ",
"contents": {
"type": "bubble",
"size": "mega",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"paddingEnd": "8px",
"paddingTop": "2px",
"cornerRadius": "xl",
"paddingStart": "8px",
"paddingBottom": "2px",
"backgroundColor": "#B45309",
"contents": [
{
"type": "text",
"size": "xxs",
"text": "รับเพียง 12 ที่นั่ง",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
]
},
{
"type": "text",
"size": "lg",
"text": "เวิร์กช็อป Latte Art สำหรับมือใหม่",
"wrap": true,
"color": "#111827",
"margin": "md",
"weight": "bold"
},
{
"type": "text",
"size": "sm",
"text": "เรียนเทคนิคสตีมนมและเทลายพื้นฐานกับบาริสต้ามืออาชีพ พร้อมรับชุดเครื่องมือกลับบ้าน",
"wrap": true,
"color": "#374151",
"margin": "sm"
},
{
"type": "box",
"layout": "vertical",
"margin": "lg",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "วันที่",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "ส. 10 ม.ค. 2570",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "เวลา",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "10:00 – 12:30 น.",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "สถานที่",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "Slow Bar Café สาขาอารีย์",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
}
]
}
]
},
"hero": {
"type": "image",
"size": "full",
"url": "https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1024&q=75&fm=jpg&fit=crop",
"aspectMode": "cover",
"aspectRatio": "20:11"
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"paddingTop": "none",
"contents": [
{
"type": "box",
"layout": "horizontal",
"spacing": "sm",
"contents": [
{
"type": "button",
"color": "#B45309",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=rsvp&answer=yes&invite=WS-1188",
"label": "ตอบรับ",
"displayText": "ยินดีเข้าร่วม"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=rsvp&answer=no&invite=WS-1188",
"label": "ไม่สะดวก",
"displayText": "ไม่สะดวกเข้าร่วม"
}
}
]
},
{
"type": "button",
"color": "#B45309",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/workshops/latte-art-basic",
"label": "ดูรายละเอียดเพิ่มเติม"
}
}
]
}
}
}