UNPKG

node-red-contrib-line-messaging-api

Version:

Node-RED nodes for LINE Messaging API integration. Build LINE Bots easily with visual programming.

39 lines (35 loc) 1.14 kB
<script> RED.nodes.registerType('Limit',{ category: 'LINE', color: '#01B301', defaults: { name: {value:""}, lineConfig: {value: "", type:"lineConfig", required:true}, }, inputs:1, outputs:1, icon: "watch.png", align: "right", label: function() { return this.name||"Limit"; } }); </script> <script type="text/html" data-template-name="Limit"> <!-- 名前 --> <div class="form-row"> <label for="node-input-name"><i class="icon-tag"></i> <span data-i18n="limit.label.name">名前</span></label> <input type="text" id="node-input-name" placeholder="Name"> </div> <!-- LINE Config --> <div class="form-row"> <label for="node-input-lineConfig"> <i class="icon-tag"></i> <span data-i18n="limit.label.lineConfig">LINE Bot設定</span> </label> <input type="text" id="node-input-lineConfig"> </div> </script> <script type="text/x-red" data-help-name="Limit"> <p>Returns the current month's message quota limits.</p> </script>