@pontalabs/baileys 1.2.7 → 1.2.9
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 +27 -3
- package/lib/Socket/messages-send.js +2 -1
- package/lib/Utils/mbuilder.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,30 @@
|
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
|
+
<div align="center">
|
|
39
|
+
|
|
40
|
+
<h2>⚡ REST API</h2>
|
|
41
|
+
|
|
42
|
+
<p>
|
|
43
|
+
<a href="https://app.pontalabs.zone.id">
|
|
44
|
+
<img src="https://img.shields.io/badge/REST_API-Explore_API-8B5CF6?style=for-the-badge&logo=fastapi&logoColor=white" />
|
|
45
|
+
</a>
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
<p><b>Ayo pakai REST API pontalabs dan nikmati fiturnya.</b></p>
|
|
49
|
+
|
|
50
|
+
<p>
|
|
51
|
+
🔗 <a href="https://my.ponta.dpdns.org">
|
|
52
|
+
<b>https://app.pontalabs.zone.id</b>
|
|
53
|
+
</a>
|
|
54
|
+
</p>
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<br>
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
38
62
|
## 📑 Table of Contents
|
|
39
63
|
|
|
40
64
|
- [Why This Fork?](#-why-this-fork)
|
|
@@ -1764,9 +1788,9 @@ const summary = getAggregateResponsesInEventMessage(eventMsg, sock.user.lid)
|
|
|
1764
1788
|
|
|
1765
1789
|
| Platform | Link |
|
|
1766
1790
|
|:---|:---|
|
|
1767
|
-
| 💬
|
|
1768
|
-
| 📢 Channel | [WhatsApp Channel](
|
|
1769
|
-
| 🌐 REST API | [
|
|
1791
|
+
| 💬 TikTok | [@ponta.gt](https://tiktok.com/@ponta.gt) |
|
|
1792
|
+
| 📢 Channel | [WhatsApp Channel](https://whatsapp.com/channel/0029VaAAkwOIN9ii1Tc6Mz1X) |
|
|
1793
|
+
| 🌐 REST API | [app.pontalabs.zone.id](https://app.pontalabs.zone.id) |
|
|
1770
1794
|
|
|
1771
1795
|
---
|
|
1772
1796
|
|
|
@@ -1196,6 +1196,7 @@ export const makeMessagesSocket = (config) => {
|
|
|
1196
1196
|
|
|
1197
1197
|
await relayMessage(jid, editMessage.message, {
|
|
1198
1198
|
messageId: editMessage.key.id,
|
|
1199
|
+
additionalAttributes: { edit: '1' },
|
|
1199
1200
|
additionalNodes: options.additionalNodes || []
|
|
1200
1201
|
});
|
|
1201
1202
|
return editMessage;
|
|
@@ -1512,7 +1513,7 @@ export const makeMessagesSocket = (config) => {
|
|
|
1512
1513
|
key: { remoteJid: jid, fromMe: true, id: fullMsg.key.id }, type: 14, editedMessage: fullMsg.message
|
|
1513
1514
|
} } }
|
|
1514
1515
|
}, { messageId: generateMessageIDV2(sock.user?.id) });
|
|
1515
|
-
await relayMessage(jid, editMessage.message, { messageId: editMessage.key.id });
|
|
1516
|
+
await relayMessage(jid, editMessage.message, { messageId: editMessage.key.id, additionalAttributes: { edit: '1' }, additionalNodes });
|
|
1516
1517
|
}
|
|
1517
1518
|
if (config.emitOwnEvents) {
|
|
1518
1519
|
process.nextTick(async () => {
|
package/lib/Utils/mbuilder.js
CHANGED
package/package.json
CHANGED