Created
December 3, 2019 18:43
-
-
Save PamornT/3e80a0d4fdc6fb4ab60a06a350628083 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.size_filling = () => ({ | |
"type": "text", | |
"text": "คุณต้องการซื้อเสื้อ size อะไร?", | |
"quickReply": { | |
"items": [{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "S", | |
"text": "S" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "M", | |
"text": "M" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "L", | |
"text": "L" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "XL", | |
"text": "XL" | |
} | |
} | |
] | |
} | |
}) | |
exports.color_filling = () => ({ | |
"type": "text", | |
"text": "คุณต้องการซื้อเสื้อ สี อะไร?", | |
"quickReply": { | |
"items": [{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "แดง", | |
"text": "แดง" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "เขียว", | |
"text": "เขียว" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "ขาว", | |
"text": "ขาว" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "เหลือง", | |
"text": "เหลือง" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "ดำ", | |
"text": "ดำ" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "ชมพู", | |
"text": "ชมพู" | |
} | |
} | |
] | |
} | |
}) | |
exports.qty_filling = () => ({ | |
"type": "text", | |
"text": "คุณต้องการซื้อเสื้อกี่ตัว?", | |
"quickReply": { | |
"items": [{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "1", | |
"text": "1" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "2", | |
"text": "2" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "3", | |
"text": "3" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "4", | |
"text": "4" | |
} | |
}, | |
{ | |
"type": "action", | |
"action": { | |
"type": "message", | |
"label": "5", | |
"text": "5" | |
} | |
} | |
] | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment