@@ -10,3 +10,3 @@ { | ||
"description": "wbm is an API to send bulk messages in whatsapp.", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"main": "src/index.js", | ||
@@ -13,0 +13,0 @@ "devDependencies": {}, |
@@ -77,14 +77,14 @@ [](https://www.npmjs.com/package/wbm) | ||
### start(options) | ||
* ##### options | ||
* **options**<br /> | ||
Object containing optional parameters as attribute.<br /> | ||
Type: `object`<br /> | ||
* ##### showBrowser | ||
* **showBrowser**<br /> | ||
Show browser running the script.<br /> | ||
Default: `false`<br /> | ||
Type: `boolean`<br /> | ||
* ##### qrCodeData | ||
* **qrCodeData**<br /> | ||
Instead of generate the QR Code, returns the data used to generate the QR Code as promise.<br /> | ||
Default: `false`<br /> | ||
Type: `boolean`<br /> | ||
* ##### session | ||
* **session**<br /> | ||
Keep user session, so the user must scan the QR Code once.<br /> | ||
@@ -108,5 +108,5 @@ Default: `true`<br /> | ||
Send same message to every phone number. | ||
Send message to every phone number. | ||
- ##### phoneOrContacts | ||
- **phoneOrContacts**<br /> | ||
Array of phone numbers: ['5535988841854', ...].<br /> | ||
@@ -117,3 +117,3 @@ Or <br /> | ||
- ##### message | ||
- **message**<br /> | ||
Message to send to every phone number.<br /> | ||
@@ -142,5 +142,4 @@ Text inside curly braces like {{attribute}} will be replaced by the contact object respective attribute.<br /> | ||
Send message to a single phone number. | ||
*When using wbm.sendTo() make sure to use wbm.end() at the end of wbm.start().* | ||
- ##### phoneOrContact | ||
- **phoneOrContact**<br /> | ||
Phone number. Example '5535988841854'.<br /> | ||
@@ -152,3 +151,3 @@ Type: `string`<br /> | ||
- ##### message | ||
- **message**<br /> | ||
Message to send to phone number.<br /> | ||
@@ -155,0 +154,0 @@ Text inside curly braces like {{attribute}} will be replaced by the contact object respective attribute.<br /> |
79585
-0.07%175
-0.57%