JSON ข้อความ · Message objectflexlay-booking-salon-time-slots.json
{
"type": "flex",
"altText": "เลือกเวลาว่าง Studio Bloom 15–17 ธ.ค. 2569 แตะเพื่อจองคิว",
"contents": {
"type": "carousel",
"contents": [
{
"type": "bubble",
"size": "micro",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ช่างแพรว",
"color": "#5F6673"
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=15 ธ.ค.&time=10:00&stylist=แพรว",
"label": "10:00",
"displayText": "จองเวลา 10:00"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=15 ธ.ค.&time=13:30&stylist=แพรว",
"label": "13:30",
"displayText": "จองเวลา 13:30"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=15 ธ.ค.&time=16:00&stylist=แพรว",
"label": "16:00",
"displayText": "จองเวลา 16:00"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"backgroundColor": "#BE185D",
"contents": [
{
"type": "text",
"size": "xs",
"text": "จันทร์",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "lg",
"text": "15 ธ.ค.",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
},
{
"type": "bubble",
"size": "micro",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ช่างแพรว",
"color": "#5F6673"
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=16 ธ.ค.&time=11:00&stylist=แพรว",
"label": "11:00",
"displayText": "จองเวลา 11:00"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=16 ธ.ค.&time=14:00&stylist=แพรว",
"label": "14:00",
"displayText": "จองเวลา 14:00"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=16 ธ.ค.&time=17:30&stylist=แพรว",
"label": "17:30",
"displayText": "จองเวลา 17:30"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"backgroundColor": "#BE185D",
"contents": [
{
"type": "text",
"size": "xs",
"text": "อังคาร",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "lg",
"text": "16 ธ.ค.",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
},
{
"type": "bubble",
"size": "micro",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ช่างต้น",
"color": "#5F6673"
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=17 ธ.ค.&time=09:30&stylist=ต้น",
"label": "09:30",
"displayText": "จองเวลา 09:30"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=17 ธ.ค.&time=12:00&stylist=ต้น",
"label": "12:00",
"displayText": "จองเวลา 12:00"
}
},
{
"type": "button",
"style": "secondary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=book_slot&date=17 ธ.ค.&time=15:00&stylist=ต้น",
"label": "15:00",
"displayText": "จองเวลา 15:00"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"backgroundColor": "#BE185D",
"contents": [
{
"type": "text",
"size": "xs",
"text": "พุธ",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "lg",
"text": "17 ธ.ค.",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
}
]
}
}