Tag Archives: LINE BOT

Introducing Flex Message, a new message type for LINE Messaging API

A new type of message has been added to the LINE Messaging API, Flex Message. We’ve been using a template-typed message in which you could place plain text, stickers, images, media types like videos, buttons and URLs. This type is quite useful for where the user had to select an option from available options, but there were restrictions such as the maximum number of buttons allowed, which is 4, for the button template, or the order in which you had to arrange the elements for a layout — title, content, and buttons.

What is Flex Message?

The Flex Message type frees you from the old restrictions and enables you to arrange layouts as desired. There is a display frame, but you can change the layout as you do with HTML code, and each component is neatly displayed. Here are a few of the layouts you can compose with Flex Message.

LIFF, our latest product for third party developers

What is LIFF?

LIFF is one of our latest products out for LINE Messaging API users. So, what is LIFF? LIFF stands for the LINE Front-end Framework, a web app platform that runs inside the LINE app. LIFF apps running on the LINE app can obtain LINE user ID or tokens needed to use the LIFF API. With the information obtained, LIFF apps can provide features using user information, such as sending messages on behalf of the user.

Bot Designer for previewing conversation with chatbots

Bot Designer is an application which allows you to simulate and preview a conversation with a chatbot.

botdesigner_screenshot_en.png

With the LINE Messaging API, you can make a bot send various types of messages such as texts, images, stickers, locations to a LINE user. To check how these messages are actually displayed on the LINE app, what you had to was to create a JSON object representing the message, call the Messaging API, and then check the sent message on the LINE app. Now, with Bot Designer, you can do it by simply entering information in the input fields of Bot Designer which automatically converts the information into JSON objects and renders message previews. You will get the idea right away when you watch the following video clip.