JSON ข้อความ · Message objectflexlay-edu-course-catalog-carousel.json
{
"type": "flex",
"altText": "คอร์สเปิดใหม่เทอม 1/2570 จาก Bright Academy 3 คอร์ส เลื่อนดูได้เลย",
"contents": {
"type": "carousel",
"contents": [
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "md",
"text": "ภาษาอังกฤษเพื่อการสื่อสาร",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "12 สัปดาห์ · เสาร์ 09:00–12:00",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
},
{
"type": "box",
"layout": "horizontal",
"margin": "md",
"contents": [
{
"type": "text",
"size": "lg",
"text": "฿6,900",
"color": "#15803D",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "เหลือ 5 ที่",
"align": "end",
"color": "#B45309",
"weight": "bold",
"gravity": "center"
}
]
}
]
},
"hero": {
"type": "image",
"size": "full",
"url": "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1024&q=75&fm=jpg&fit=crop",
"aspectMode": "cover",
"aspectRatio": "20:13"
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#7C3AED",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=enroll&course=ENG-COM-01",
"label": "สมัครเรียน",
"displayText": "สมัครคอร์ส ภาษาอังกฤษเพื่อการสื่อสาร"
}
}
]
}
},
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "md",
"text": "ติวเข้ม คณิตศาสตร์ ม.ปลาย",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "10 สัปดาห์ · อาทิตย์ 13:00–16:00",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
},
{
"type": "box",
"layout": "horizontal",
"margin": "md",
"contents": [
{
"type": "text",
"size": "lg",
"text": "฿5,500",
"color": "#15803D",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "เหลือ 8 ที่",
"align": "end",
"color": "#B45309",
"weight": "bold",
"gravity": "center"
}
]
}
]
},
"hero": {
"type": "image",
"size": "full",
"url": "https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1024&q=75&fm=jpg&fit=crop",
"aspectMode": "cover",
"aspectRatio": "20:13"
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#7C3AED",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=enroll&course=MATH-HS-02",
"label": "สมัครเรียน",
"displayText": "สมัครคอร์ส ติวเข้ม คณิตศาสตร์ ม.ปลาย"
}
}
]
}
},
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "md",
"text": "ทำอาหารไทยสำหรับมือใหม่",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "6 ครั้ง · พุธ 18:00–20:30",
"wrap": true,
"color": "#5F6673",
"margin": "sm"
},
{
"type": "box",
"layout": "horizontal",
"margin": "md",
"contents": [
{
"type": "text",
"size": "lg",
"text": "฿4,200",
"color": "#15803D",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "เหลือ 3 ที่",
"align": "end",
"color": "#B45309",
"weight": "bold",
"gravity": "center"
}
]
}
]
},
"hero": {
"type": "image",
"size": "full",
"url": "https://images.unsplash.com/photo-1551218808-94e220e084d2?w=1024&q=75&fm=jpg&fit=crop",
"aspectMode": "cover",
"aspectRatio": "20:13"
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#7C3AED",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=enroll&course=COOK-TH-01",
"label": "สมัครเรียน",
"displayText": "สมัครคอร์ส ทำอาหารไทยสำหรับมือใหม่"
}
}
]
}
},
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"justifyContent": "center",
"backgroundColor": "#7C3AED",
"contents": [
{
"type": "text",
"size": "lg",
"text": "ดูคอร์สทั้งหมด",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "sm",
"text": "มากกว่า 40 คอร์สให้เลือก",
"align": "center",
"color": "#FFFFFF",
"margin": "sm"
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"margin": "xl",
"action": {
"type": "uri",
"uri": "https://example.com/courses",
"label": "ดูทั้งหมด"
}
}
]
}
}
]
}
}