LINE ReplyToken Provider Node - jatu-studiobox/node-red-contrib-node-line-api GitHub Wiki
NODE-RED node for using connect next to LINE Webhook node. In order to take entry Message Events object, and then extract and pass the Reply Token to next node, such as send Reply Token to LINE Reply Message node for reply message.
LINE replyToken Provider Node is helper functional node (use for easy to reply).
Remark : If there are Message Events object more than one, LINE ReplyToken Provider Node do loop for extract Reply Token from each Message Event.
Usage
Basic use, connected between LINE Webhook node and LINE Reply Message node.
API Input
Using msg
object.
Property | Type | Description |
---|---|---|
payload | JSON |
Using output Message Events object from LINE Webhook Node |
API Output
Result from ReplyToken Provider Node by using msg
object.
Property | Type | Description |
---|---|---|
payload | JSON |
Each Message Event object |
replyToken | string |
replyToken for using reply message |
Examples
After install package, see usage examples at Node-RED Import menu at node-red-contrib-node-line-api
, then line-bot-replyToken-provider-examples
. It will be used in conjunction with LINE Webhook Node and LINE Reply Message Node as well.
More details
- See more details at LINE Messaging API (Send reply message) Document.
- See more details at Webhook Event Objects.