node-red-contrib-chatbot
Version:
REDBot a Chat bot for a full featured chat bot for Telegram**, Facebook Messenger and Slack. Almost no coding skills required
24 lines (20 loc) • 733 B
HTML
<script type="text/javascript">
RED.nodes.registerType('chatbot-authorized', {
category: 'RedBot Flow',
color: '#FFCC66',
defaults: {
},
inputs: 1,
outputs: 2,
paletteLabel: 'Authorized',
icon: 'chatbot-authorized.png',
label: function() {
return 'Authorized?';
}
});
</script>
<script type="text/x-red" data-help-name="chatbot-authorized"><p>Check if the current chat is authorized, in that case the message will be forwarded to the first output, otherwise
the second output.</p>
<p><img src="https://img.shields.io/badge/platform-Telegram-blue.svg?colorB=7cbaea" alt="Telegram">
<img src="https://img.shields.io/badge/platform-Facebook-blue.svg" alt="Facebook"></p>
</script>