Skip to content

Instantly share code, notes, and snippets.

@sirateek
Created March 8, 2020 09:12
Show Gist options
  • Save sirateek/5db1bb5533f0bedd8811d1b32149763e to your computer and use it in GitHub Desktop.
Save sirateek/5db1bb5533f0bedd8811d1b32149763e to your computer and use it in GitHub Desktop.
{
"line": {
"type": "flex",
"altText": "LIFF",
"contents": {
"type": "carousel",
"contents": [
{
"type": "bubble",
"hero": {
"type": "image",
"url": "https://img.in.th/images/3768d428a8f8bb2be9ff0c1058c719db.jpg",
"size": "full",
"aspectRatio": "20:13",
"aspectMode": "cover",
"action": {
"type": "uri",
"uri": "https://liff.line.me/1653920406-AZg7kbdL"
}
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "วิธีลางาน",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "วิํธีลางาน"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#80BFFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "วิธีดูผลอนุมัติการลา",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "ขอวิธีดูผลอนุมัติจ้า"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#99CCFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "spacer",
"size": "xs"
}
]
}
},
{
"type": "bubble",
"hero": {
"type": "image",
"url": "https://img.in.th/images/23c0c97012de8742c6a80982e9226e88.jpg",
"size": "full",
"aspectRatio": "20:13",
"aspectMode": "cover",
"action": {
"type": "uri",
"uri": "https://liff.line.me/1653920406-AZg7kbdL"
}
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "แก้ไขเวลาเข้า-ออกงาน",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "วิํธีแก้เวลาเข้าออกงาน"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#80BFFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "การทำงานล่วงเวลา",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "ขอดูวิธีบันทึกการทำงานล่วงเวลา"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#99CCFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "spacer",
"size": "xs"
}
]
}
},
{
"type": "bubble",
"hero": {
"type": "image",
"url": "https://img.in.th/images/fc1b3c39613ba1e30874b5f8da48e41b.jpg",
"size": "full",
"aspectRatio": "20:13",
"aspectMode": "cover",
"action": {
"type": "uri",
"uri": "https://liff.line.me/1653920406-AZg7kbdL"
}
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "วิธี LOGIN เข้าระบบ",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "Login เข้าระบบยังไง"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#80BFFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "ลืมรหัสผ่าน",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "ลืมรหัสผ่านทำยังไง"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#99CCFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "spacer",
"size": "xs"
}
]
}
},
{
"type": "bubble",
"hero": {
"type": "image",
"url": "https://img.in.th/images/e1477cb92b213abd0079f3f534cdb8b1.jpg",
"size": "full",
"aspectRatio": "20:13",
"aspectMode": "cover",
"action": {
"type": "uri",
"uri": "https://liff.line.me/1653920406-AZg7kbdL"
}
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "E-PAY SLIP",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "ขอสลิปเงินเดืิอน"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#80BFFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "ขอทวิ 50",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "ขอวิธีโหลดทวิ 50 หน่อยจ้ะ"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#99CCFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "spacer",
"size": "xs"
}
]
}
},
{
"type": "bubble",
"hero": {
"type": "image",
"url": "https://img.in.th/images/f7497ab096b495a6c055cff91968e6dd.jpg",
"size": "full",
"aspectRatio": "20:13",
"aspectMode": "cover",
"action": {
"type": "uri",
"uri": "https://liff.line.me/1653920406-AZg7kbdL"
}
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "แจ้งข้อมูลที่อยากรู้เพิ่ม",
"size": "lg",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "แจ้งข้อมูลที่ต้องการรู้เพิ่ม"
},
"style": "italic"
}
],
"backgroundColor": "#80BFFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "FEEDBACK คู่มือ",
"size": "xl",
"color": "#FFFFFF",
"weight": "bold",
"align": "center",
"action": {
"type": "message",
"label": "action",
"text": "ให้ Feedback คู่มือ"
},
"gravity": "center",
"style": "italic"
}
],
"backgroundColor": "#99CCFF",
"height": "30px",
"cornerRadius": "10px"
},
{
"type": "spacer",
"size": "xs"
}
]
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment