UNPKG

node-red-contrib-line-messaging-api

Version:

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

45 lines (38 loc) 1.21 kB
<script> RED.nodes.registerType('getProfile', { 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 || 'getProfile'; }, }); </script> <script type="text/html" data-template-name="getProfile"> <!-- 名前 --> <div class="form-row"> <label for="node-input-name"> <i class="fa fa-tag"></i> <span data-i18n="getProfile.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="fa fa-tag"></i> <span data-i18n="getProfile.label.lineConfig">LINE Bot設定</span> </label> <input type="text" id="node-input-lineConfig"> </div> </script> <script type="text/html" data-help-name="getProfile"> <p>Gets the user profile information.</p> </script>