JSON ข้อความ · Message objectflexlay-edu-parent-teacher-meeting.json
{
"type": "flex",
"altText": "เชิญประชุมผู้ปกครองชั้น ป.5/2 วันเสาร์ที่ 10 ม.ค. 2570 เวลา 09:00 น.",
"contents": {
"type": "bubble",
"size": "mega",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"contents": [
{
"type": "box",
"layout": "vertical",
"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": "09:00–11:00 น.",
"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": "ห้องประชุมอาคาร 2",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "text",
"size": "sm",
"text": "วาระการประชุม",
"color": "#111827",
"margin": "lg",
"weight": "bold"
},
{
"type": "text",
"size": "sm",
"text": "1. ผลการเรียนกลางภาค\n2. กิจกรรมทัศนศึกษา\n3. การเตรียมตัวสอบ O-NET",
"wrap": true,
"color": "#4B5563",
"margin": "sm"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#0369A1",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=ptm_rsvp&meeting=PTM-2570-P52&answer=yes",
"label": "ยืนยันเข้าร่วม",
"displayText": "ยืนยันเข้าร่วมประชุม"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "datetimepicker",
"data": "action=ptm_reschedule&meeting=PTM-2570-P52",
"mode": "datetime",
"label": "ขอเลื่อนเวลา"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"backgroundColor": "#0369A1",
"contents": [
{
"type": "text",
"size": "lg",
"text": "เชิญประชุมผู้ปกครอง",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "โรงเรียนสาธิตแสงทอง · ชั้น ป.5/2",
"color": "#FFFFFF",
"margin": "xs"
}
]
}
}
}