Overview
Flexible Templates are messages with a customizable layout. You can customize the layout freely based on the specification for CSS Flexible Box (CSS Flexbox). "Flex container" corresponds to "box component" in a Flexible Template. "Flex item" corresponds to "component" in a Flexible Template.
Note
- LINE WORKS's Flexible Template has partial compatibility with Flex Message (Update 1) of LINE.
Check the Behavior in Flexible Template Simulator
By using Flexible Template Simulator, you can check the layout without actually sending messages.
Features
- You can build complex message layouts based on the specification for CSS Flexible Box (CSS Flexbox).
- In addition to a single message bubble, you can also send multiple message bubbles in a carousel. Users can scroll horizontally throughout the message bubbles in the carousel.
- You can set text directionality: left-to-right or right-to-left.
Flexible Template Description Format
Like the other message types, Flexible Templates are written in JSON format. For more information about sending Flexible Templates from a bot, see the following pages: