Skip to content

Instantly share code, notes, and snippets.

@PamornT
Last active September 11, 2024 05:34
Show Gist options
  • Save PamornT/7521ddabb67e8d71657251bff0cb5248 to your computer and use it in GitHub Desktop.
Save PamornT/7521ddabb67e8d71657251bff0cb5248 to your computer and use it in GitHub Desktop.
{
"type": "bubble",
"size": "giga",
"header": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "image",
"url": "https://tinman-asia.com/wp-content/uploads/2021/10/Layer_1.png",
"size": "full",
"aspectRatio": "20:13"
}
],
"paddingBottom": "0px"
},
"body": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "TINMAN",
"weight": "bold",
"size": "xl"
},
{
"type": "text",
"text": "Software Engineer"
},
{
"type": "separator",
"margin": "md"
},
{
"type": "box",
"layout": "vertical",
"margin": "lg",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "text",
"text": "Dear [first name], you have a new enquiry from [company name] because you match with [role name].",
"wrap": true,
"color": "#666666",
"size": "sm",
"flex": 5
},
{
"type": "text",
"text": "You can always adjust your inbound message preferences to include more opportunities, or reduce the number of messages you get.",
"margin": "lg",
"size": "sm",
"color": "#666666",
"wrap": true
},
{
"type": "text",
"text": "You do not need to add this company in Line, nor do you need to share any personal information until you are comfortable they are reliable and well intentioned. Your safety is our priority. If you have concerns about this message, please tell us immediately using the report button below.",
"margin": "lg",
"size": "sm",
"color": "#666666",
"wrap": true
}
]
}
]
}
]
},
"footer": {
"type": "box",
"layout": "horizontal",
"spacing": "sm",
"contents": [
{
"type": "button",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"label": "Interest",
"data": "jobId=1234&interest=true"
}
},
{
"type": "button",
"style": "link",
"height": "sm",
"action": {
"type": "postback",
"label": "Not Interest",
"data": "jobId=1234&interest=false"
}
}
],
"flex": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment