@deathnaitsa/wa-api 1.0.21 → 1.0.22

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deathnaitsa/wa-api",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Multi Session Whatsapp Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -183,6 +183,19 @@ await wa.relayMessage(
183
183
  { messageId: 'nishiMarkRead' }
184
184
  );
185
185
  ```
186
+ ### Nachrichten Id selbst Festlegen
187
+
188
+ ```js
189
+ await wa.relayMessage(
190
+ msg.sessionId, // deine Session-ID
191
+ msg.key.remoteJid,
192
+ {
193
+ conversation: 'Dies ist eine Relay-Textnachricht'
194
+ },
195
+ { messageId: `nishi`+ Date.now(); }
196
+ );
197
+ ```
198
+
186
199
 
187
200
  ---
188
201