Update README.md

This commit is contained in:
Adhiraj Singh
2020-06-09 12:27:14 +05:30
committed by GitHub
parent c2661186f1
commit 7d9fa7a6d1

View File

@@ -119,7 +119,7 @@
}
```
``` id ``` is the WhatsApp id of the person or group you're sending the message to.
It must be in the format ```[country code][phone number]@s.whatsapp.net```, for example ```+19999999999@s.whatsapp.net``` for people. For groups, it must be in the format ``` 123456789-123345@g.us ```.
It must be in the format ```[country code][phone number]@s.whatsapp.net```, for example ```+19999999999@s.whatsapp.net``` for people. For groups, it must be in the format ``` 123456789-123345@g.us ```. **Do not attach** `@c.us` for individual people IDs, It won't work
* __Sending Read Receipts__
``` javascript
client.sendReadReceipt(id, messageID)
@@ -290,4 +290,4 @@
2. ``` node example.js ```
# Note
I am in no way affiliated with WhatsApp. This was written for educational purposes. Use at your own discretion.
I am in no way affiliated with WhatsApp. This was written for educational purposes. Use at your own discretion.