Filler

    This component is used to create a space.

    You can put a space between, before, or after components by inserting a filler anywhere within a box.

    API Type

    Server API

    Request URL

    https://apis.worksmobile.com/r/{API ID}/message/v1/bot/{botNo}/message/push

    HTTP Method

    POST(Content-Type: application/json; charset=UTF-8)

    Request

    Parameter Type Required Description
    type string Y Set this parameter to filler.
    flex number N The ratio of the width or height of this component within the parent box. For more information, see Width and height of components.

    ※ The spacing property of the parent element will be ignored for fillers.

    Request Example

    
    {
      "type": "bubble",
      "body": {
        "type": "box",
        "layout": "horizontal",
        "contents": [
          {
            "type": "image",
            "url": "https://i.ibb.co/nmKJ6Bg/WORKSMOBILE02.png",
            "aspectMode": "cover"
          },
          {
            "type": "filler"
          },
          {
            "type": "image",
            "url": "https://i.ibb.co/nmKJ6Bg/WORKSMOBILE02.png",
            "aspectMode": "cover"
          }
        ]
      }
    }