@raylongsolutions/saaselixir 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -166,6 +166,8 @@ if (event.event === 'message.received') {
|
|
|
166
166
|
|
|
167
167
|
Reply with `wa.messages.sendText(event.from, 'Thanks!')` within 24 hours, or send a template. Replies are delivered only while your plan includes the API. Repeats carry the same `wamid`.
|
|
168
168
|
|
|
169
|
+
**Limit:** the SDK cannot download voice notes or photos. A reply gives only the file id (`event.mediaId`), so the file itself has to be fetched from WhatsApp with the number's access token. Keep that token saved on your server.
|
|
170
|
+
|
|
169
171
|
`verifySignature(secret, rawBody, signature)` gives true or false if you prefer. Calls can arrive more than once: use `reference` to ignore repeats.
|
|
170
172
|
|
|
171
173
|
## Build a chatbot or automation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raylongsolutions/saaselixir",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Node.js SDK for SaasElixir: send WhatsApp template messages, build chatbots and automations, and verify delivery callbacks from your own software.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|