@neoxr/zapo 1.0.2 → 1.0.3
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/README.md +9 -0
- package/lib/core/binding.js +1 -1
- package/lib/core/connection.js +1 -1
- package/lib/core/instance.js +1 -1
- package/lib/core/message-util.js +1 -1
- package/lib/core/message.js +1 -1
- package/lib/core/message.js.map +1 -1
- package/lib/core/polyfill.js +1 -1
- package/lib/core/private.js +1 -1
- package/lib/core/serialize.js +1 -1
- package/lib/core/storage.js +1 -1
- package/lib/listeners/group-update.js +1 -1
- package/lib/listeners/index.js +1 -1
- package/lib/listeners/messages-inbound.js +1 -1
- package/lib/listeners/messages-outbound.js +1 -1
- package/lib/listeners/messages-receipt.js +1 -1
- package/lib/listeners/presence.js +1 -1
- package/lib/memory/index.js +1 -1
- package/lib/memory/localy-store.js +1 -1
- package/lib/memory/temporary-store.js +1 -1
- package/lib/proxy/index.js +1 -1
- package/lib/proxy/proxy-json.js +1 -1
- package/lib/proxy/proxy-mongo.js +1 -1
- package/lib/proxy/proxy-mysql.js +1 -1
- package/lib/proxy/proxy-postgresql.js +1 -1
- package/lib/proxy/proxy-redis.js +1 -1
- package/lib/proxy/proxy-sqlite.js +1 -1
- package/lib/types/index.js +1 -1
- package/lib/utils/caching.js +1 -1
- package/lib/utils/chiper.js +1 -1
- package/lib/utils/converter.js +1 -1
- package/lib/utils/cooldown.js +1 -1
- package/lib/utils/functions.js +1 -1
- package/lib/utils/functions.js.map +1 -1
- package/lib/utils/loader.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/resolver.js +1 -1
- package/lib/utils/security.js +1 -1
- package/lib/utils/spam.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -197,6 +197,15 @@ waSocket.ev.on('stanza_error', (update) => console.log(update))
|
|
|
197
197
|
// declaration variable sock
|
|
198
198
|
const client = waSocket.sock
|
|
199
199
|
|
|
200
|
+
// send relay/raw message like baileys
|
|
201
|
+
client.relayMessage(m.chat, {
|
|
202
|
+
extentedTextMessage: { text: 'Hi' }
|
|
203
|
+
}, {
|
|
204
|
+
additionalAttributes: {},
|
|
205
|
+
additionalNodes: [],
|
|
206
|
+
...options
|
|
207
|
+
})
|
|
208
|
+
|
|
200
209
|
// send a text message (auto tagged)
|
|
201
210
|
client.reply(m.chat, `Test!`, m)
|
|
202
211
|
|