Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "type": "carousel",
- "contents": [
- {
- "type": "bubble",
- "body": {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "text",
- "text": "Hot Radars",
- "size": "xl",
- "align": "center",
- "gravity": "center",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "🏆 8 อันดับแรก ที่มีคนเลือกดูสูงสุดในรอบ 24 ชั่วโมง 👏",
- "size": "sm",
- "align": "center",
- "gravity": "center",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "vertical",
- "margin": "md",
- "contents": [
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "PTT",
- "text": "PTT"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/PTT.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "PTT",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "43.25",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "+0.25 (+0.58%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#0FCC58",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "BEM",
- "text": "BEM"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/BEM.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "BEM",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "10.90",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "0.00 (0.00%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#FFC42D",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "AOT",
- "text": "AOT"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/AOT.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "AOT",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "68.75",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "+1.50 (+2.23%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#0FCC58",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "PTTGC",
- "text": "PTTGC"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/PTTGC.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "PTTGC",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "52.50",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "+1.00 (+1.94%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#0FCC58",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "BBL",
- "text": "BBL"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/BBL.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "BBL",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "165.00",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "-6.00 (-3.51%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#FE0034",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "TMB",
- "text": "TMB"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/TMB.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "TMB",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "1.56",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "-0.02 (-1.27%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#FE0034",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "BTS",
- "text": "BTS"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/BTS.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "BTS",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "12.40",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "-0.10 (-0.80%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#FE0034",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "KBANK",
- "text": "KBANK"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/KBANK.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "KBANK",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold",
- "color": "#1E7DE8"
- },
- {
- "type": "text",
- "text": "155.00",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "-9.00 (-5.49%)",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#FE0034",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "separator",
- "margin": "md",
- "color": "#FFFFFF"
- },
- {
- "type": "text",
- "text": "เรายังมีเรดาร์กว่า 200 สัญญาณที่จะช่วยคุณคัดกรองหุ้นในตลาดตามเทคนิคการลงทุนของคุณผ่านแอป StockRadars ดาวน์โหลดได้เลยที่... ",
- "size": "sm",
- "align": "center",
- "gravity": "center",
- "wrap": true
- },
- {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "image",
- "url": "https://storage.googleapis.com/stockradars-line/static/flex/button_download.png",
- "size": "full",
- "aspectRatio": "3:1",
- "action": {
- "type": "uri",
- "label": "Share",
- "uri": "https://www.stockradars.co/getradars/"
- }
- },
- {
- "type": "image",
- "url": "https://storage.googleapis.com/stockradars-line/static/flex/logo_StockRadar_Event(black).png",
- "align": "end",
- "size": "md",
- "aspectRatio": "3:1"
- }
- ]
- }
- ]
- }
- ]
- }
- },
- {
- "type": "bubble",
- "body": {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "text",
- "text": "Hot Radars",
- "size": "xl",
- "align": "center",
- "gravity": "center",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "🏆 8 อันดับแรก ที่มีคนเลือกดูสูงสุดในรอบ 24 ชั่วโมง 👏",
- "size": "sm",
- "align": "center",
- "gravity": "center",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "vertical",
- "margin": "md",
- "contents": [
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "{$data[0]['symbol']}",
- "text": "{$data[0]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[0]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_1",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[0]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "{$data[1]['symbol']}",
- "text": "{$data[1]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[1]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_2",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[1]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[2]['symbol']}",
- "text": "{$data[2]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[2]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_3",
- "size": "sm",
- "flex": 2,
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[2]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[3]['symbol']}",
- "text": "{$data[3]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "margin": "md",
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[3]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_4",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[3]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[4]['symbol']}",
- "text": "{$data[4]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[4]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_5",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[4]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[5]['symbol']}",
- "text": "{$data[5]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[5]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_6",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[5]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[6]['symbol']}",
- "text": "{$data[6]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[6]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_7",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[6]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[7]['symbol']}",
- "text": "{$data[7]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[7]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_8",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[7]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "separator",
- "margin": "md",
- "color": "#FFFFFF"
- },
- {
- "type": "text",
- "text": "$text_footer",
- "size": "sm",
- "align": "center",
- "gravity": "center",
- "wrap": true
- },
- {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "image",
- "url": "https://storage.googleapis.com/stockradars-line/static/flex/button_download.png",
- "size": "full",
- "aspectRatio": "3:1",
- "action": {
- "type": "uri",
- "label": "Share",
- "uri": "https://storage.googleapis.com/stockradars-line/static/flex/button_download.png"
- }
- },
- {
- "type": "image",
- "url": "https://storage.googleapis.com/stockradars-line/static/flex/logo_StockRadar_Event(black).png",
- "align": "end",
- "size": "md",
- "aspectRatio": "3:1"
- }
- ]
- }
- ]
- }
- ]
- }
- },
- {
- "type": "bubble",
- "body": {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "text",
- "text": "Hot Radars",
- "size": "xl",
- "align": "center",
- "gravity": "center",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "🏆 8 อันดับแรก ที่มีคนเลือกดูสูงสุดในรอบ 24 ชั่วโมง 👏",
- "size": "sm",
- "align": "center",
- "gravity": "center",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "vertical",
- "margin": "md",
- "contents": [
- {
- "type": "box",
- "layout": "horizontal",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "{$data[0]['symbol']}",
- "text": "{$data[0]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[0]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "size": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_1",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[0]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "flex": 10,
- "action": {
- "type": "message",
- "label": "{$data[1]['symbol']}",
- "text": "{$data[1]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[1]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_2",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[1]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[2]['symbol']}",
- "text": "{$data[2]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[2]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_3",
- "size": "sm",
- "flex": 2,
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[2]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[3]['symbol']}",
- "text": "{$data[3]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "margin": "md",
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[3]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_4",
- "flex": 2,
- "size": "sm",
- "gravity": "center",
- "align": "end",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[3]['change']}",
- "flex": 4,
- "size": "xs",
- "gravity": "center",
- "align": "end",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[4]['symbol']}",
- "text": "{$data[4]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[4]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_5",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[4]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[5]['symbol']}",
- "text": "{$data[5]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[5]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_6",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[5]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[6]['symbol']}",
- "text": "{$data[6]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[6]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_7",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[6]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "box",
- "layout": "horizontal",
- "margin": "md",
- "action": {
- "type": "message",
- "label": "{$data[7]['symbol']}",
- "text": "{$data[7]['symbol']}"
- },
- "contents": [
- {
- "type": "image",
- "url": "https://line-bot.stockradars.co/images/company_logo/STPI.png",
- "flex": 1,
- "size": "md"
- },
- {
- "type": "text",
- "text": "{$data[7]['symbol']}",
- "flex": 3,
- "gravity": "center",
- "margin": "md",
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "$price_8",
- "align": "end",
- "size": "sm",
- "gravity": "center",
- "flex": 2,
- "weight": "bold"
- },
- {
- "type": "text",
- "text": "{$data[7]['change']}",
- "flex": 4,
- "size": "xs",
- "align": "end",
- "gravity": "center",
- "color": "#000000",
- "wrap": true
- }
- ]
- },
- {
- "type": "separator",
- "margin": "md"
- },
- {
- "type": "separator",
- "margin": "md",
- "color": "#FFFFFF"
- },
- {
- "type": "text",
- "text": "$text_footer",
- "size": "sm",
- "align": "center",
- "gravity": "center",
- "wrap": true
- },
- {
- "type": "box",
- "layout": "vertical",
- "contents": [
- {
- "type": "image",
- "url": "https://storage.googleapis.com/stockradars-line/static/flex/button_download.png",
- "size": "full",
- "aspectRatio": "3:1",
- "action": {
- "type": "uri",
- "label": "Share",
- "uri": "https://storage.googleapis.com/stockradars-line/static/flex/button_download.png"
- }
- },
- {
- "type": "image",
- "url": "https://storage.googleapis.com/stockradars-line/static/flex/logo_StockRadar_Event(black).png",
- "align": "end",
- "size": "md",
- "aspectRatio": "3:1"
- }
- ]
- }
- ]
- }
- ]
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement