Blame view

test.json 1.05 KB
f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...
1
2
3
4
5
{
  "type": "flex",
  "altText": "GenContentFlex!0",
  "contents": {
    "type": "bubble",
f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...
6
7
8
    "direction": "ltr",
    "header": {
      "type": "box",
b9184255   Surasit Yerpui   update Code Reweb...
9
      "layout": "vertical",
f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...
10
11
12
      "contents": [
        {
          "type": "text",
b9184255   Surasit Yerpui   update Code Reweb...
13
14
15
16
          "text": "Header",
          "align": "center",
          "contents": []
        }
f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...
17
      ]
b9184255   Surasit Yerpui   update Code Reweb...
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
    },
    "hero": {
      "type": "image",
      "url": "https://1417094351.rsc.cdn77.org/articles/1439/1438984/thumbnail/small.gif?3",
      "size": "full",
      "aspectRatio": "1.51:1",
      "aspectMode": "fit"
    },
    "body": {
      "type": "box",
      "layout": "vertical",
      "contents": [
        {
          "type": "text",
          "text": "Body",
          "align": "center",
          "contents": []
        }
      ]
    },
    "footer": {
      "type": "box",
      "layout": "horizontal",
      "contents": [
f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...
42
43
44
45
46
        {
          "type": "button",
          "action": {
            "type": "uri",
            "label": "Button",
b9184255   Surasit Yerpui   update Code Reweb...
47
48
            "uri": "https://linecorp.com"
          }
f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...
49
50
51
52
53
        }
      ]
    }
  }
}
b9184255   Surasit Yerpui   update Code Reweb...

f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...

b9184255   Surasit Yerpui   update Code Reweb...

f4bbcb63   Surasit Yerpui   เพิ่ม ตัวอย่าง ac...