node-red-contrib-line-messaging-api
Version:
Node-RED nodes for LINE Messaging API integration. Build LINE Bots easily with visual programming.
39 lines (36 loc) • 1.2 kB
HTML
<script>
RED.nodes.registerType('Limit',{
category: 'LINE',
color: '#01B301',
defaults: {
name: {value:""},
},
credentials: {
AccessToken: { type: "password", 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>
<div class="form-row">
<label for="node-input-AccessToken">
<i class="icon-tag"></i>
<span data-i18n="limit.label.accessToken">チャンネルアクセストークン</span>
</label>
<input type="password" id="node-input-AccessToken" placeholder="LINE Limit AccessToken">
</div>
</script>
<script type="text/x-red" data-help-name="Limit">
<p>Returns the current month's message quota limits.</p>
</script>