News: Articles for #Template messages
New properties for template messages and postback actions released
Default actions can now be set for template messages
defaultActionproperty has been added to the column object for buttons and carousel template messages. As a result, you can indicate a single action to be executed when a user taps anywhere in the image, title, or text area.
For more information, see the updated reference documentation below.
displayTextproperty for postback actions released
We have released the
displayTextproperty and have deprecated the
textproperty for postback actions. We recommend using
displayTextinstead of the
textproperty. Note that the
textproperties cannot both be used at the same time.
For more information, see the Postback action reference documentation.
New options for template message images
We have released
imageBackgroundColorfields for Buttons and Carousel template messages. Using these fields, you can configure the aspect ratio, size, and background color for images used in template messages. For more information, see the reference documentation below.
Column objects for template messages increased
New template message features released
We have released the following features for the Messaging API.
Image carousel template
The image carousel template lets you send multiple images in a single message that users can cycle through like a carousel. You can then set template actions for when an image is tapped.
For more information, see the image carousel reference.
Datetime picker action
With the datetime picker template action, you can provide an easy way for users to pick a date and time without having to type it in manually. The datetime picker action can be used in any type of template message and returns a postback event when the action is tapped.
Note: The datetime picker action is supported on LINE 7.9.0 and later for iOS and 7.12.0 and higher for Android.
For more information, see the datetime picker action reference.