Node Details and readme updated
This commit is contained in:
parent
4c87e24f2a
commit
88d898d3b9
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-contrib-whatsapp-link",
|
"name": "node-red-contrib-whatsapp-link",
|
||||||
"version": "0.1.14",
|
"version": "0.1.14",
|
||||||
"description": "Whatsapp connection with Node-Red",
|
"description": "Whatsapp connection with Node-Red | No third party APIs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -26,6 +26,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/html" data-help-name="whatsapp-in">
|
<script type="text/markdown" data-help-name="whatsapp-in">
|
||||||
<p>A simple node to recive whatsapp messages.</p>
|
**Whatsapp In** : Node to recive all messages send to connected number.
|
||||||
|
- Simply deploy the node and wait for connected (green) status.
|
||||||
|
- After succesfully connection, Node is able to recive all messages.
|
||||||
|
- Messages can be read at `msg.payload` and `msg.body` and sender number can be read at `msg.from`.
|
||||||
|
- Please look complete `{msg}` to get all details about recived message.
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -27,8 +27,22 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/html" data-help-name="whatsapp-admin">
|
<script type="text/markdown" data-help-name="whatsapp-admin">
|
||||||
<p>A simple Admin node.</p>
|
**Whatsapp Admin** : Node used for basic status of whatsapp.
|
||||||
<p>1. provide status of Whatsapp.</p>
|
|
||||||
<p>2. get commonds to control Whatsapp.</p>
|
| Inputs | Description |
|
||||||
|
|--------|-------------- |
|
||||||
|
| test | Checks the current status of whatsapp and output the same in `msg.payload`|
|
||||||
|
| destroy| Close the client and destroy the connection.|
|
||||||
|
| restart | Restart the whatsapp client |
|
||||||
|
| logout | Simply log you out and close the session. |
|
||||||
|
|
||||||
|
|
||||||
|
| Output | Description |
|
||||||
|
|--------| ------------|
|
||||||
|
|`status` | provide status on `msg.payload` for all and each input mentioned in above table. |
|
||||||
|
| Connecting..| When whatsapp attempting to connect.
|
||||||
|
| QR Code (image) | when QR code is generated. *This method can also be used to get QR Code (image) generated by whatsapp.*
|
||||||
|
| Connected | When whatapp is sucessfully connected.|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
<input type="text" id="node-config-input-cName">
|
<input type="text" id="node-config-input-cName">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label><p> Don't put space in Name. </p></label>
|
<p> Thats sit. you don't have to change any thing here just click the ok
|
||||||
|
button and proceed. Name can be update if required but with no-space.</p>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
Loading…
x
Reference in New Issue
Block a user