flex หนังสือธรรมะ

/////////////////////

{
  "type": "carousel",
  "contents": [
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#04B45F"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "สิทธิประโยชน์",
                "align": "center",
                "weight": "bold",
                "color": "#0B2161",
                "size": "md",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "เงินเดือน",
              "text": "เงินเดือน"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "การเดินทาง",
              "text": "การเดินทาง"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "การแต่งตั้งผู้ช่วยดำเนินงาน",
              "uri": "https://www.parliament.go.th/ewtadmin/ewt/parliament_parcy/ewt_dl_link.php?nid=8466&filename=index"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "เบี้ยประชุม",
              "text": "เบี้ยประชุม"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "การยืมเครื่องคอมพิวเตอร์",
              "text": "การยืมเครื่องคอมพิวเตอร์"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "การเบิกค่ารักษาพยาบาล",
              "text": "เบิกค่ารักษา"
            }
          }
        ]
      }
    },
     {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#04B45F"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "ระเบียบข้อบังคับ",
                "align": "center",
                "weight": "bold",
                "color": "#0B2161",
                "size": "md",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "รัฐธรรมนูญ",
              "uri": "https://www.senate.go.th/assets/portals/13/files/%E0%B8%A3%E0%B8%B1%E0%B8%90%E0%B8%98%E0%B8%A3%E0%B8%A3%E0%B8%A1%E0%B8%99%E0%B8%B9%E0%B8%8D%E0%B9%81%E0%B8%AB%E0%B9%88%E0%B8%87%E0%B8%A3%E0%B8%B2%E0%B8%8A%E0%B8%AD%E0%B8%B2%E0%B8%93%E0%B8%B2%E0%B8%88%E0%B8%B1%E0%B8%81%E0%B8%A3%20%E0%B8%9E%E0%B8%B8%E0%B8%97%E0%B8%98%E0%B8%A8%E0%B8%B1%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%8A%20%E0%B9%92%E0%B9%95%E0%B9%96%E0%B9%90.pdf"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "ข้อบังคับประชุมสภา",
              "uri": "https://www.senate.go.th/assets/portals/1/files/ratchakitcha2560.PDF"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "ข้อบังคับ",
              "text": "ข้อบังคับ"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "การแสดงตน",
              "text": "การแสดงตน"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "การอภิปรายไม่ไว้วางใจ",
              "text": "การอภิปรายไม่ไว้วางใจ"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "ระเบียบอื่นๆ",
              "text": "ระเบียบอื่นๆ"
            }
          }
        ]
      }
    },
     {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#04B45F"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "บริการของสำนักงาน",
                "align": "center",
                "weight": "bold",
                "color": "#0B2161",
                "size": "md",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "ระบบค้นหาเอกสาร",
              "uri": "http://edoc.parliament.go.th/searchdocs.aspx"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "เบอร์โทรสำคัญ",
              "text": "เบอร์โทร"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "แผนที่",
              "text": "แผนที่"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "ระเบียบสำนักงาน",
              "uri": "https://www.senate.go.th/view/1/%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%A5%E0%B8%B0%E0%B9%80%E0%B8%AD%E0%B8%B5%E0%B8%A2%E0%B8%94%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B8%B9%E0%B8%A5%E0%B8%AA%E0%B8%A0%E0%B8%B2%E0%B8%99%E0%B8%B4%E0%B8%95%E0%B8%B4%E0%B8%9A%E0%B8%B1%E0%B8%8D%E0%B8%8D%E0%B8%B1%E0%B8%95%E0%B8%B4%E0%B9%81%E0%B8%AB%E0%B9%88%E0%B8%87%E0%B8%8A%E0%B8%B2%E0%B8%95%E0%B8%B4/%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%81%E0%B8%B2%E0%B8%A8%20%E0%B8%81%E0%B8%8E%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%9A%E0%B8%B5%E0%B8%A2%E0%B8%9A%20%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%9A%E0%B8%B1%E0%B8%87%E0%B8%84%E0%B8%B1%E0%B8%9A/114/TH-TH"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "แบบฟอร์ม",
              "uri": "https://www.parliament.go.th/ewtadmin/ewt/parliament_parcy/ewt_dl_link.php?nid=31097&filename=index"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "ผู้บริหาร",
              "text": "ผู้บริหาร"
            }
          }
        ]
      }
    },
     {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#04B45F"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "ระบบสารสนเทศ",
                "align": "center",
                "weight": "bold",
                "color": "#0B2161",
                "size": "md",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "message",
              "label": "ระบบบริการข้อมูลกฏหมาย",
              "text": "http://law.parliament.go.th"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "ระบบนิติบัญญัติ",
              "uri": "https://lis.parliament.go.th"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "ระบบอีเมล์",
              "uri": "http://mail.parliament.go.th"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "แชทบอทสำนักงาน",
              "uri": "line://ti/p/@zym1315n"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "ระบบถ่ายทอดสด",
              "uri": "http://live.parliament.go.th"
            }
          },
          {
            "type": "button",
            "style": "primary",
            "color": "#298A08",
            "action": {
              "type": "uri",
              "label": "แชทบอทห้องสมุดรัฐสภา",
              "uri": "line://ti/p/@ekn7306s"
            }
          }
        ]
      }
    }
  ]
}


//////////////////////////////
{
  "type": "carousel",
  "contents": [
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/1.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/1.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "อยู่อย่างไม่ประมาท ในโลกวัตถุนิยม",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "ความไม่ประมาทเป็นทางแห่งความไม่ตาย ความประมาทเป็นทางแห่งความตายผู้ไม่ประมาทชื่อว่าผู้ไม่ตาย ผู้ประมาทแล้วได้ชื่อว่าผู้ตายแล้ว ดังนี้",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่าน",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=151"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/2.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/2.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "ความสุข",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "บุคคลผู้อยู่ในโลกเต็มไปด้วยความประมาทมากขึ้น โดยเฉพาะในยุคที่มีสิ่งยั่วยวนมากขึ้น จึงได้ตกอยู่ในวิสัยที่เป็นทาสของความสุขทางวัตถุ",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่าน",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=153"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/3.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/3.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "ธรรมะไม่ใช่พิธี",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "ธรรมะหรือศาสนาไม่ใช่มีไว้เพื่อประกอบพิธีต่าง ๆ มากมายนับไม่ถ้วน จนกลายเป็นไสยศาสตร์ไปก็มาก ก็ธรรมะหรือศาสนานี้มันมีไว้เพื่อแก้ปัญหาของมนุษย์จริง ๆ",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่าน",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=152"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/4.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/4.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "ผู้เยียวยาสัตว์โลกทั้งปวง",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "ทุกอย่างมันเป็นไปตามอำนาจของจิต สังขารทั้งปวง ธรรมทั้งปวงเป็นไปตามอำนาจของสิ่งสิ่งเดียวคือจิต บางอย่างเห็นง่ายมาก แต่บางอย่างมันลึกเหลือเกินมองไม่ค่อยเห็น แล้วคนก็ไม่ค่อยจะเชื่อ",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่านต่อ",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=154"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/5.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/5.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "อยู่อย่างปลอดภัยในโลกอันมัวเมา",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "เมื่อดูต่อไปก็ยิ่งจะเห็นได้ว่า ความอยากความทะเยอทะยานในทางวัตถุนั้น ไม่มีที่สิ้นสุดและไม่อาจจะสิ้นสุด เปรียบเหมือนไฟ เป็นสิ่งที่ใครจะเอาฟืนไปเติมให้มันอิ่มนั้น เป็นไปไม่ได้",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่านต่อ",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=133"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/6.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/6.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "ธรรมะกับการปฏิบัติธรรม",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "ปัญหาของมนุษย์ที่ว่า จะต้องมีธรรมะทำาไมกัน ธรรมะจำเป็นอย่างไร อาตมาก็พูดว่าเพื่อมนุษย์จะไม่ต้องละอายแก่สัตว์เดรัจฉาน ในทางส่วนตัวก็ดีกว่า ในประโยชน์ผู้อื่นก็ดีกว่า",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่านต่อ",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=131"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/7.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/7.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "ธรรมชาติช่วยได้",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "ถ้าเราอยู่ใกล้ชิดธรรมชาติเป็นเกลอกับธรรมชาติให้มาก   สนใจกับธรรมชาติให้มาก มันก็รู้เรื่องธรรมะได้ง่ายขึ้น  เพราะว่าธรรมะมันเป็นเรื่องของธรรมชาติ",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่านต่อ",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=112"
            }
          }
        ]
      }
    },
    {
      "type": "bubble",
      "styles": {
        "footer": {
          "backgroundColor": "#42b3f4"
        }
      },
      "header": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "box",
            "layout": "baseline",
            "contents": [
              {
                "type": "icon",
                "size": "xxl",
                "url": "https://modcumram.com/logo_sapa.png"
              }
            ]
          },
          {
            "type": "box",
            "layout": "vertical",
            "flex": 5,
            "contents": [
              {
                "type": "text",
                "text": "แจกหนังสือธรรมะฟรี",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "md",
                "gravity": "top"
              },
              {
                "type": "text",
                "text": "ธรรมะใกล้มือปี 2561",
                "weight": "bold",
                "color": "#aaaaaa",
                "size": "lg",
                "gravity": "top"
              }
            ]
          }
        ]
      },
      "hero": {
        "type": "image",
        "url": "https://forerunner.parliament.go.th/book/8.png",
        "size": "full",
        "aspectRatio": "1:1",
        "aspectMode": "cover",
        "action": {
          "type": "uri",
          "uri": "https://forerunner.parliament.go.th/book/8.png"
        }
      },
      "body": {
        "type": "box",
        "layout": "vertical",
        "contents": [
          {
            "type": "text",
            "margin": "sm",
            "text": "กาลเวลากับชีวิต",
            "weight": "bold",
            "size": "md",
            "wrap": true
          },
          {
            "type": "box",
            "layout": "vertical",
            "margin": "xs",
            "contents": [
              {
                "type": "box",
                "layout": "baseline",
                "spacing": "sm",
                "contents": [
                  {
                    "type": "text",
                    "text": "เวลาคือระยะ ระหว่างความอยากกับความสมอยาก เมื่อเราอยาก เวลาก็เกิดขึ้นทันที ถ้าเราไม่ต้องการอะไร เวลาก็ไม่มี พอสมอยากเสียเวลาก็หยุด",
                    "wrap": true,
                    "color": "#666666",
                    "size": "sm",
                    "flex": 6
                  }
                ]
              }
            ]
          },
          {
            "type": "text",
            "margin": "md",
            "text": "มูลนิธิหอจดหมายเหตุพุทธทาส อินทปัญโญ",
            "size": "sm",
            "color": "#adadad"
          }
        ]
      },
      "footer": {
        "type": "box",
        "layout": "vertical",
        "spacing": "sm",
        "contents": [
          {
            "type": "button",
            "style": "link",
            "color": "#FFFFFF",
            "height": "sm",
            "action": {
              "type": "uri",
              "label": "อ่านต่อ",
              "uri": "http://www.bia.or.th/ebook/content/web/index.php?bookid=103"
            }
          }
        ]
      }
    }
  ]
}

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

แจ้งเตือนเข้าไลน์กลุ่ม ผ่าน Line notify เมื่อมีคน login เข้า server ของเราผ่าน SSH (linux) หรือ remote desktop เข้ามา (windows server)

การทำ cloud iot ด้วย thingsboard ไว้ใช้เองครับ

การประยุกต์ใช้ line notify ในการแจ้งปัญหาการใช้งาน สำหรับ php