ultramsg-whatsapp-api
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "ultramsg-whatsapp-api", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Lightweight library for WhatsApp API to send the whatsappp messages in nodejs provided by ultramsg.com", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -210,3 +210,20 @@ # [Ultramsg.com](https://ultramsg.com/?utm_source=github&utm_medium=nodejs&utm_campaign=api) WhatsApp API nodejs SDK | ||
``` | ||
## Resend messages by status | ||
* **status** : unsent or expired | ||
```js | ||
var status="expired"; | ||
const response = await api.resendByStatus(status); | ||
console.log(response) | ||
``` | ||
## Resend message by ID | ||
* **id** : message id | ||
```js | ||
var id="123"; | ||
const response = await api.resendById(id); | ||
console.log(response) | ||
``` | ||
## Get Messages | ||
@@ -213,0 +230,0 @@ get the messages that sent by api |
21181
447