Node Details and readme updated

This commit is contained in:
rawee
2022-12-07 00:41:43 +05:30
parent 4c87e24f2a
commit 88d898d3b9
4 changed files with 28 additions and 8 deletions

View File

@@ -27,8 +27,22 @@
</script>
<script type="text/html" data-help-name="whatsapp-admin">
<p>A simple Admin node.</p>
<p>1. provide status of Whatsapp.</p>
<p>2. get commonds to control Whatsapp.</p>
<script type="text/markdown" data-help-name="whatsapp-admin">
**Whatsapp Admin** : Node used for basic status of whatsapp.
| 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>