Node details updated

This commit is contained in:
rawee 2022-12-07 01:23:10 +05:30
parent 88d898d3b9
commit 32074075d9
5 changed files with 28 additions and 28 deletions

View File

@ -16,6 +16,7 @@ Currently in developing mode, Continous updated may encounter.
## Nodes ## Nodes
1. **Whatsapp Admin** : Node used for basic status of whatsapp. 1. **Whatsapp Admin** : Node used for basic status of whatsapp.
| Inputs | Description | | Inputs | Description |
|--------|-------------- | |--------|-------------- |
@ -23,9 +24,9 @@ Currently in developing mode, Continous updated may encounter.
| destroy| Close the client and destroy the connection.| | destroy| Close the client and destroy the connection.|
| restart | Restart the whatsapp client | | restart | Restart the whatsapp client |
| logout | Simply log you out and close the session. | | logout | Simply log you out and close the session. |
---
| Output | Description | | Output | Description |
|--------| ------------| |--------| ------------|
|`status` | provide status on `msg.payload` for all and each input mentioned in above table. | |`status` | provide status on `msg.payload` for all and each input mentioned in above table. |
@ -33,14 +34,12 @@ Currently in developing mode, Continous updated may encounter.
| QR Code (image) | when QR code is generated. *This method can also be used to get QR Code (image) generated by whatsapp.* | 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.| | Connected | When whatapp is sucessfully connected.|
2. **Whatsapp In** : Node to recive all messages send to connected number. 2. **Whatsapp In** : Node to recive all messages send to connected number.
- Simply deploy the node and wait for connected (green) status. - Simply deploy the node and wait for connected (green) status.
- After succesfully connection, Node is able to recive all messages. - 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`. - 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. - Please look complete `{msg}` to get all details about recived message.
3. **Whatsapp Out** : As simple as mention on name, node will send `msg.payload` recived at input to the number mentioned in node. 3. **Whatsapp Out** : As simple as mention on name, node will send `msg.payload` recived at input to the number mentioned in node.

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-contrib-whatsapp-link", "name": "node-red-contrib-whatsapp-link",
"version": "0.1.14", "version": "0.1.15",
"description": "Whatsapp connection with Node-Red | No third party APIs", "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"

View File

@ -27,10 +27,10 @@
<script type="text/markdown" data-help-name="whatsapp-in"> <script type="text/markdown" data-help-name="whatsapp-in">
**Whatsapp In** : Node to recive all messages send to connected number. Node to recive all messages send to connected number.
- Simply deploy the node and wait for connected (green) status. - Simply deploy the node and wait for connected (green) status.
- After succesfully connection, Node is able to recive all messages. - 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`. - 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. - Please look complete `{msg}` to get all details about recived message.
</script> </script>

View File

@ -36,6 +36,7 @@
<script type="text/markdown" data-help-name="whatsapp-out"> <script type="text/markdown" data-help-name="whatsapp-out">
**Whatsapp Out** : As simple as mention on name, node will send `msg.payload` recived at input to the number mentioned in node. As simple as mention on name, node will send `msg.payload` recived at input to the number mentioned in node.
*Don't forget to mention international dialing code befor your number. Number must be in format like `+11 99999 99999` without any space.*
-*Don't forget to mention international dialing code befor your number. Number must be in format like `+11 99999 99999` without any space.*
</script> </script>

View File

@ -28,21 +28,21 @@
<script type="text/markdown" data-help-name="whatsapp-admin"> <script type="text/markdown" data-help-name="whatsapp-admin">
**Whatsapp Admin** : Node used for basic status of whatsapp. Node used for basic status of whatsapp.
| Inputs | Description | | Inputs | Description |
|--------|-------------- | |--------|-------------- |
| test | Checks the current status of whatsapp and output the same in `msg.payload`| | test | Checks the current status of whatsapp and output the same in `msg.payload`|
| destroy| Close the client and destroy the connection.| | destroy| Close the client and destroy the connection.|
| restart | Restart the whatsapp client | | restart | Restart the whatsapp client |
| logout | Simply log you out and close the session. | | logout | Simply log you out and close the session. |
| Output | Description | | Output | Description |
|--------| ------------| |--------| ------------|
|`status` | provide status on `msg.payload` for all and each input mentioned in above table. | |`status` | provide status on `msg.payload` for all and each input mentioned in above table. |
| Connecting..| When whatsapp attempting to connect. | 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.* | 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.| | Connected | When whatapp is sucessfully connected.|
</script> </script>