Files
line_push/paied/allmember/push.tmp
T
darenhsu befd344ab0 add file
2022-07-17 13:16:16 +08:00

251 lines
6.6 KiB
Plaintext

curl -X POST -H 'Content-Type:application/json' -H 'Authorization: Bearer AekGvbGLGjQ5s83NMM++ZX7gsACoiq1A5JJTbWW1KkIRBx2jjOZM+Aq5q3CH8uQyDH8alpHx42OAKDlvnHysdaCqaIlyePzvGWio9GSSLawuB4gCW4TRavLgnJoRqNHjGMdno/lyQrPlFWs2WoRucAdB04t89/1O/w1cDnyilFU=' -d '{ "to": "LINEUSERID",
"messages":[ {
"type": "flex",
"altText": "This is a Flex Message",
"contents":
{
"type": "carousel",
"contents": [
{
"type": "bubble",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "md",
"contents": [
{
"type": "text",
"text": "林婷婷",
"size": "3xl",
"style": "normal",
"wrap": true,
"position": "relative"
},
{
"type": "text",
"text": "林婷婷",
"wrap": true,
"weight": "bold",
"gravity": "center",
"size": "lg",
"contents": [
{
"type": "span",
"text": "林婷婷"
}
]
},
{
"type": "box",
"layout": "baseline",
"spacing": "sm",
"contents": [
{
"type": "text",
"text": "AUP-0529",
"flex": 5,
"align": "start"
},
{
"type": "text",
"text": "B45M款藍",
"align": "center",
"flex": 7
},
{
"type": "text",
"text": "AT",
"flex": 5
}
]
},
{
"type": "box",
"layout": "vertical",
"margin": "lg",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "baseline",
"spacing": "sm",
"contents": [
{
"type": "text",
"color": "#aaaaaa",
"size": "sm",
"weight": "bold",
"text": "電話號碼"
}
]
},
{
"type": "box",
"layout": "baseline",
"spacing": "sm",
"contents": [
{
"type": "text",
"text": "0953621216",
"color": "#aaaaaa",
"size": "sm",
"flex": 1
}
]
},
{
"type": "box",
"layout": "baseline",
"spacing": "sm",
"contents": [
{
"type": "text",
"text": "報名資料",
"color": "#aaaaaa",
"size": "sm",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "baseline",
"spacing": "sm",
"contents": [
{
"type": "text",
"text": "4 大人"
},
{
"type": "text",
"text": "0 小孩"
},
{
"type": "text",
"text": "0 兒童"
}
]
},
{
"type": "text",
"text": "二日遊"
},
{
"type": "text",
"text": "飯店四人房 1"
},
{
"type": "text",
"text": "飯店二人房 0"
},
{
"type": "text",
"text": "會館二人房 0"
},
{
"type": "text",
"text": "加床 0"
},
{
"type": "text",
"text": "匯款後五碼 不知道"
},
{
"type": "text",
"text": "匯款總金額 7000"
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "separator",
"margin": "xxl"
},
{
"type": "box",
"layout": "baseline",
"margin": "md",
"contents": [
{
"type": "text",
"text": "Group",
"color": "#aaaaaa",
"size": "sm",
"flex": 2
},
{
"type": "text",
"text": "--------",
"wrap": true,
"color": "#666666",
"size": "sm",
"flex": 4
}
]
},
{
"type": "box",
"layout": "baseline",
"spacing": "sm",
"contents": [
{
"type": "text",
"text": "Date",
"color": "#aaaaaa",
"size": "sm",
"flex": 2
},
{
"type": "text",
"text": "Wed Sep 23 17:55:07 CST 2020",
"wrap": true,
"size": "sm",
"color": "#666666",
"flex": 4
}
]
},
{
"type": "separator",
"margin": "md"
},
{
"type": "button",
"style": "primary",
"margin": "none",
"action": {
"type": "uri",
"label": "修改匯款資料(修改人數房型請通知管理員)",
"uri": "https://liff.line.me/1654797836-BGlOZ4L5"
},
"height": "md"
},
{
"type": "text",
"text": "(修改人數房型請通知管理員)"
},
{
"type": "button",
"style": "primary",
"margin": "sm",
"action": {
"type": "postback",
"label": "通知已匯款",
"displayText": "已為您通知管理員",
"data": "20201114NOTIFY"
}
}
]
}
}
]
}}
]
}' https://api.line.me/v2/bot/message/push