JSON ข้อความ · Message objectflexlay-class-schedule.json
{
"type": "flex",
"altText": "ตารางเรียนคอร์สเตรียมสอบ TCAS สัปดาห์ที่ 15–19 ธ.ค. 2569",
"contents": {
"type": "bubble",
"size": "mega",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"paddingTop": "md",
"contents": [
{
"type": "box",
"layout": "horizontal",
"margin": "lg",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "44px",
"paddingTop": "sm",
"cornerRadius": "md",
"paddingBottom": "sm",
"justifyContent": "center",
"backgroundColor": "#A16207",
"contents": [
{
"type": "text",
"size": "xs",
"text": "จ.",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"contents": [
{
"type": "text",
"size": "sm",
"text": "คณิตศาสตร์ประยุกต์",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "17:00–19:00 · ห้อง 301",
"wrap": true,
"color": "#5F6673"
}
]
}
]
},
{
"type": "box",
"layout": "horizontal",
"margin": "lg",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "44px",
"paddingTop": "sm",
"cornerRadius": "md",
"paddingBottom": "sm",
"justifyContent": "center",
"backgroundColor": "#BE185D",
"contents": [
{
"type": "text",
"size": "xs",
"text": "อ.",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ฟิสิกส์ (กลศาสตร์)",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "17:00–19:00 · ห้อง 302",
"wrap": true,
"color": "#5F6673"
}
]
}
]
},
{
"type": "box",
"layout": "horizontal",
"margin": "lg",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "44px",
"paddingTop": "sm",
"cornerRadius": "md",
"paddingBottom": "sm",
"justifyContent": "center",
"backgroundColor": "#15803D",
"contents": [
{
"type": "text",
"size": "xs",
"text": "พ.",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ภาษาอังกฤษ (Reading)",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "17:30–19:00 · ออนไลน์ Zoom",
"wrap": true,
"color": "#5F6673"
}
]
}
]
},
{
"type": "box",
"layout": "horizontal",
"margin": "lg",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "44px",
"paddingTop": "sm",
"cornerRadius": "md",
"paddingBottom": "sm",
"justifyContent": "center",
"backgroundColor": "#C2410C",
"contents": [
{
"type": "text",
"size": "xs",
"text": "พฤ.",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"contents": [
{
"type": "text",
"size": "sm",
"text": "เคมี (สารละลาย)",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "17:00–19:00 · ห้อง 301",
"wrap": true,
"color": "#5F6673"
}
]
}
]
},
{
"type": "box",
"layout": "horizontal",
"margin": "lg",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "44px",
"paddingTop": "sm",
"cornerRadius": "md",
"paddingBottom": "sm",
"justifyContent": "center",
"backgroundColor": "#2563EB",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ศ.",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ทำข้อสอบเสมือนจริง",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "16:30–19:30 · ห้องสอบ A",
"wrap": true,
"color": "#5F6673"
}
]
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#7C3AED",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/schedule",
"label": "ดูตารางทั้งหมด"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"background": {
"type": "linearGradient",
"angle": "135deg",
"endColor": "#2563EB",
"startColor": "#7C3AED"
},
"paddingAll": "xl",
"contents": [
{
"type": "text",
"size": "lg",
"text": "ตารางเรียนสัปดาห์นี้",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "คอร์สเตรียมสอบ TCAS · 15–19 ธ.ค. 2569",
"wrap": true,
"color": "#EDE9FE",
"margin": "xs"
}
]
}
}
}