-
Notifications
You must be signed in to change notification settings - Fork 0
LINE Message API Quick Reply Collector Node

LINE Quick Reply Collector Node. No need to code. Easy to collect result from Quick Reply Item Node for creation quick reply by user taps a button or an image in a message.
This node uses together with LINE Messaging API Quick Reply Item Node.

1. Add this node work with LINE Messaging API flow.

2. Setup Node values

- Use/Don't use Quick Reply Item. Use for need to use this Quick Reply Item, the other hand not use if don't need to use this Quick Reply Item. Default value is 'Use'.
-
Action. Types of actions for bot to take when a user taps a button or an image in a message. There are
Postback,Message,URI,Datetime picker,Camera,Camera rollandLocation. - Image URL. (Optional) Icon for displaying on Quick Reply buttons. Icon URL must use https, file type PNG and aspectRatio 1:1 (or rectangle).
- Label. Label on quick reply buttons. Max character limit: 20.
2.1 Additional configuration for Message Action

- Text. Text sent when the action is performed. Max character limit: 300.
2.2 Additional configuration for URI Action

- URL. URL opened when the action is performed. Max character limit: 1000.
- URL Desktop. (Optional) URL opened on LINE for macOS and Windows when the action is performed. Max character limit: 1000.
The available schemes are http, https and tel.
Ex1. http://www.domainname.com
Ex2. https://www.domainname.com
Ex3. tel:0909990099 [9-10 digits]
See Using LINE features with the LINE URL scheme
2.3 Additional configuration for Postback Action

-
Data. String returned via webhook in the
postback.dataproperty of the postback event. Max character limit: 300. - Display Text. Text displayed in the chat as a message sent by the user when the action is performed. Max character limit: 300.
2.4 Additional configuration for Datetime picker Action

-
Data. String returned via webhook in the
postback.dataproperty of the postback event. Max character limit: 300. -
Mode. Action mode.
Date: Pick date
Time: Pick time
Datetime: Pick date and time - Initial. (Optional) Initial value of date or time.
-
Min. (Optional) Smallest date or time value that can be selected. Must be less than the
Maxvalue. -
Max. (Optional) Largest date or time value that can be selected. Must be greater than the
Minvalue.
The available schemes are Min ≤ Initial ≤ Max
Date format is dd/mm/yyyy. Time format is hh:mm. Use 24h time.
Uses msg object.
| Property | Mandatory | Type | Description |
|---|---|---|---|
| useQuickReplyItem | No | boolean |
Use/Not use QuickReply Item. Remark: Send value from API takes precedence node setting. |
Result from Quick Reply Item node by using msg object.
| Property | Type | Description |
|---|---|---|
| quickReplyItem | object |
Quick Reply Item object |
{ "item": { "type": "action", "action": { "type": "camera", "label":"test" } }, "useQuickReplyItem": true }
After install package, see usage examples at Node-RED Import menu at node-red-contrib-node-line-api, then line-quick-reply-examples.
- See more details at LINE Messaging API: Action Objects.