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. ``` 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__ * __Sending Read Receipts__
``` javascript ``` javascript
client.sendReadReceipt(id, messageID) client.sendReadReceipt(id, messageID)