dapzsyz-baileysm 0.4.2

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 (101) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +490 -0
  3. package/WAProto/GenerateStatics.sh +4 -0
  4. package/WAProto/WAProto.proto +4775 -0
  5. package/WAProto/index.js +169661 -0
  6. package/WAProto/p.html +1 -0
  7. package/engine-requirements.js +10 -0
  8. package/lib/Defaults/index.js +118 -0
  9. package/lib/Defaults/wileys-version.json +3 -0
  10. package/lib/Signal/Group/ciphertext-message.js +15 -0
  11. package/lib/Signal/Group/group-session-builder.js +64 -0
  12. package/lib/Signal/Group/group_cipher.js +96 -0
  13. package/lib/Signal/Group/index.js +57 -0
  14. package/lib/Signal/Group/keyhelper.js +55 -0
  15. package/lib/Signal/Group/queue-job.js +57 -0
  16. package/lib/Signal/Group/sender-chain-key.js +34 -0
  17. package/lib/Signal/Group/sender-key-distribution-message.js +66 -0
  18. package/lib/Signal/Group/sender-key-message.js +69 -0
  19. package/lib/Signal/Group/sender-key-name.js +51 -0
  20. package/lib/Signal/Group/sender-key-record.js +53 -0
  21. package/lib/Signal/Group/sender-key-state.js +99 -0
  22. package/lib/Signal/Group/sender-message-key.js +29 -0
  23. package/lib/Signal/libsignal.js +174 -0
  24. package/lib/Socket/Client/index.js +18 -0
  25. package/lib/Socket/Client/types.js +13 -0
  26. package/lib/Socket/Client/websocket.js +111 -0
  27. package/lib/Socket/business.js +260 -0
  28. package/lib/Socket/chats.js +915 -0
  29. package/lib/Socket/groups.js +332 -0
  30. package/lib/Socket/index.js +10 -0
  31. package/lib/Socket/messages-recv.js +1054 -0
  32. package/lib/Socket/messages-send.js +872 -0
  33. package/lib/Socket/newsletter.js +286 -0
  34. package/lib/Socket/socket.js +654 -0
  35. package/lib/Socket/usync.js +70 -0
  36. package/lib/Store/index.js +8 -0
  37. package/lib/Store/make-in-memory-store.js +439 -0
  38. package/lib/Store/make-ordered-dictionary.js +81 -0
  39. package/lib/Store/object-repository.js +27 -0
  40. package/lib/Types/Auth.js +2 -0
  41. package/lib/Types/Call.js +2 -0
  42. package/lib/Types/Chat.js +4 -0
  43. package/lib/Types/Contact.js +2 -0
  44. package/lib/Types/Events.js +2 -0
  45. package/lib/Types/GroupMetadata.js +2 -0
  46. package/lib/Types/Label.js +27 -0
  47. package/lib/Types/LabelAssociation.js +9 -0
  48. package/lib/Types/Message.js +7 -0
  49. package/lib/Types/Newsletter.js +18 -0
  50. package/lib/Types/Product.js +2 -0
  51. package/lib/Types/Signal.js +2 -0
  52. package/lib/Types/Socket.js +2 -0
  53. package/lib/Types/State.js +2 -0
  54. package/lib/Types/USync.js +2 -0
  55. package/lib/Types/index.js +42 -0
  56. package/lib/Utils/auth-utils.js +199 -0
  57. package/lib/Utils/browser-utils.js +35 -0
  58. package/lib/Utils/business.js +234 -0
  59. package/lib/Utils/chat-utils.js +730 -0
  60. package/lib/Utils/crypto.js +193 -0
  61. package/lib/Utils/decode-wa-message.js +207 -0
  62. package/lib/Utils/event-buffer.js +518 -0
  63. package/lib/Utils/generics.js +467 -0
  64. package/lib/Utils/history.js +94 -0
  65. package/lib/Utils/index.js +35 -0
  66. package/lib/Utils/link-preview.js +126 -0
  67. package/lib/Utils/logger.js +7 -0
  68. package/lib/Utils/lt-hash.js +51 -0
  69. package/lib/Utils/make-mutex.js +43 -0
  70. package/lib/Utils/message-retry-manager.js +128 -0
  71. package/lib/Utils/messages-media.js +879 -0
  72. package/lib/Utils/messages.js +1049 -0
  73. package/lib/Utils/noise-handler.js +150 -0
  74. package/lib/Utils/process-message.js +404 -0
  75. package/lib/Utils/signal.js +153 -0
  76. package/lib/Utils/use-multi-file-auth-state.js +125 -0
  77. package/lib/Utils/validate-connection.js +229 -0
  78. package/lib/Utils/wileys-event-stream.js +63 -0
  79. package/lib/WABinary/constants.js +1303 -0
  80. package/lib/WABinary/decode.js +265 -0
  81. package/lib/WABinary/encode.js +250 -0
  82. package/lib/WABinary/generic-utils.js +110 -0
  83. package/lib/WABinary/index.js +21 -0
  84. package/lib/WABinary/jid-utils.js +85 -0
  85. package/lib/WABinary/types.js +2 -0
  86. package/lib/WAM/BinaryInfo.js +13 -0
  87. package/lib/WAM/constants.js +15350 -0
  88. package/lib/WAM/encode.js +155 -0
  89. package/lib/WAM/index.js +19 -0
  90. package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
  91. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
  92. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
  93. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
  94. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +53 -0
  95. package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +24 -0
  96. package/lib/WAUSync/Protocols/index.js +20 -0
  97. package/lib/WAUSync/USyncQuery.js +89 -0
  98. package/lib/WAUSync/USyncUser.js +26 -0
  99. package/lib/WAUSync/index.js +19 -0
  100. package/lib/index.js +59 -0
  101. package/package.json +114 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 DapzSYZ
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,490 @@
1
+
2
+ ```
3
+ © Credits
4
+ Modified Baileys @DapzSYZ
5
+ Source Baileys @wileys
6
+ ```
7
+
8
+ # WhatsApp Baileys
9
+
10
+ <p align="center">
11
+ <img src="https://files.catbox.moe/cofjcc.jpeg" alt="Thumbnail" />
12
+ </p>
13
+
14
+ WhatsApp Baileys adalah library open‑source yang dirancang untuk membantu developer membangun solusi otomatisasi dan integrasi dengan WhatsApp secara efisien dan langsung. Menggunakan teknologi webclient.t tanpa memerlukan browser, library ini mendukung berbagai fitur seperti manajemen pesan, penanganan chat, administrasi grup, serta pesan interaktif dan tombol aksi untuk pengalaman pengguna yang lebih dinamis.
15
+
16
+ Aktif dikembangkan dan dipelihara, baileys terus menerima pembaruan untuk meningkatkan stabilitas dan performa. Salah satu fokus utamanya adalah menyempurnakan proses pairing dan autentikasi agar lebih stabil dan aman. Fitur pairing dapat dikustomisasi dengan kode buatan sendiri, membuat proses lebih andal dan tidak mudah terganggu.
17
+
18
+ Library ini sangat cocok untuk membangun bot bisnis, sistem otomatisasi chat, solusi customer service, dan berbagai aplikasi otomatisasi komunikasi lainnya yang membutuhkan stabilitas tinggi dan fitur lengkap. Dengan desain ringan dan modular, baileys mudah diintegrasikan ke berbagai sistem dan platform.
19
+
20
+ ---
21
+
22
+ ### Fitur Utama dan Keunggulan
23
+
24
+ - Mendukung proses pairing otomatis dan kustom
25
+ - Memperbaiki masalah pairing sebelumnya yang sering menyebabkan gagal atau disconnect
26
+ - Mendukung pesan interaktif, tombol aksi, dan menu dinamis
27
+ - Manajemen sesi otomatis yang efisien dan andal
28
+ - Kompatibel dengan fitur multi-device terbaru WhatsApp
29
+ - Ringan, stabil, dan mudah diintegrasikan ke berbagai sistem
30
+ - Cocok untuk mengembangkan bot, otomatisasi, dan solusi komunikasi lengkap
31
+ - Dokumentasi dan contoh kode yang lengkap untuk memudahkan pengembangan
32
+
33
+ ---
34
+
35
+ ## Memulai
36
+
37
+ Mulailah dengan menginstal library melalui package manager pilihan Anda, lalu ikuti panduan konfigurasi yang tersedia. Anda juga dapat menggunakan contoh kode yang sudah disediakan untuk memahami cara kerja fitur-fitur tersebut. Gunakan penyimpanan sesi dan fitur pesan interaktif untuk membangun solusi lengkap dan stabil sesuai kebutuhan bisnis atau proyek Anda.
38
+
39
+ ---
40
+
41
+ ## Dokumentasi SendMessage
42
+
43
+ ### Order Message
44
+
45
+ ```javascript
46
+ await client.sendMessage(groupId, {
47
+ orderMessage: {
48
+ orderId: "7778",
49
+ thumbnail: await (await fetch("URL IMG")).buffer(),
50
+ itemCount: 1000,
51
+ status: "INQUIRY",
52
+ surface: "CATALOG",
53
+ message: "dfa kimochi",
54
+ orderTitle: "kyah",
55
+ sellerJid: "0@s.whatsapp.net",
56
+ token: Buffer.from("777777"),
57
+ totalAmount1000: 1000,
58
+ currencyCode: "IDR",
59
+ messageVersion: 2
60
+ }
61
+ }, { quoted: m });
62
+ ```
63
+
64
+ ### Review And Pay Message
65
+
66
+ ```javascript
67
+ await client.sendMessage(m.chat, {
68
+ nativeFlowMessage: {
69
+ buttons: [
70
+ {
71
+ name: "review_and_pay",
72
+ buttonParamsJson: JSON.stringify({
73
+ currency: "IDR",
74
+ total_amount: { value: 100, offset: 100 },
75
+ reference_id: "DAFFA-DEV",
76
+ type: "daffa",
77
+ payment_status: "ganteng",
78
+ payment_timestamp: Date.now(),
79
+ order: {
80
+ status: "completed",
81
+ subtotal: { value: 100, offset: 100 },
82
+ order_type: "PAYMENT_REQUEST",
83
+ items: [
84
+ {
85
+ retailer_id: "item-" + Math.floor(Math.random() * 1e9),
86
+ name: teks,
87
+ amount: { value: 100, offset: 100 },
88
+ quantity: 1
89
+ }
90
+ ]
91
+ },
92
+ additional_note: "daffa gntng bet jir",
93
+ native_payment_methods: "",
94
+ share_payment_status: true
95
+ })
96
+ }
97
+ ]
98
+ }
99
+ }
100
+ }, { quoted: m })
101
+ ```
102
+ ### Tag Status Grup Teks
103
+
104
+ ```javascript
105
+ await client.sendMessage(groupId, {
106
+ groupStatusMessage: {
107
+ text: "hello world"
108
+ }
109
+ });
110
+ ```
111
+
112
+ ### Tag Status Grup Gambar
113
+
114
+ ```javascript
115
+ const quoted = m.quoted ? m.quoted : m;
116
+ const mime = (quoted.msg || quoted).mimetype || "";
117
+ const caption = m.body.replace(/^\.swgrup\s*/i, "").trim();
118
+ const jid = m.chat;
119
+ if (/image/.test(mime)) {
120
+ const buffer = await quoted.download();
121
+ await client.sendMessage(groupId, {
122
+ groupStatusMessage: {
123
+ image: buffer,
124
+ caption
125
+ }
126
+ });
127
+ ```
128
+
129
+ ### Tag Status Grup Video
130
+
131
+ ```javascript
132
+ const quoted = m.quoted ? m.quoted : m;
133
+ const mime = (quoted.msg || quoted).mimetype || "";
134
+ const caption = m.body.replace(/^\.swgrup\s*/i, "").trim();
135
+ const jid = m.chat;
136
+ if (/video/.test(mime)) {
137
+ const buffer = await quoted.download();
138
+ await client.sendMessage(groupId, {
139
+ groupStatusMessage: {
140
+ video: buffer,
141
+ caption
142
+ }
143
+ });
144
+ ```
145
+
146
+ ### Tag Status Grup Audio
147
+
148
+ ```javascript
149
+ const quoted = m.quoted ? m.quoted : m;
150
+ const mime = (quoted.msg || quoted).mimetype || "";
151
+ const caption = m.body.replace(/^\.swgrup\s*/i, "").trim();
152
+ const jid = m.chat;
153
+ if (/audio/.test(mime)) {
154
+ const buffer = await quoted.download();
155
+ await client.sendMessage(groupId, {
156
+ groupStatusMessage: {
157
+ audio: buffer,
158
+ }
159
+ });
160
+ ```
161
+
162
+ ### Album Message (Multiple Images)
163
+ Mengirim banyak gambar dalam satu pesan album:
164
+
165
+ ```javascript
166
+ await client.sendMessage(m.chat, {
167
+ albumMessage: [
168
+ { image: omak, caption: "Foto pertama" },
169
+ { image: { url: "URL IMAGE" }, caption: "Foto kedua" }
170
+ ]
171
+ }, { quoted: m });
172
+ ```
173
+
174
+ ### Event Message
175
+ Membuat dan mengirim undangan event WhatsApp:
176
+
177
+ ```javascript
178
+ await client.sendMessage(m.chat, {
179
+ eventMessage: {
180
+ isCanceled: false,
181
+ name: "Hello World",
182
+ description: "ravage native",
183
+ location: {
184
+ degreesLatitude: 0,
185
+ degreesLongitude: 0,
186
+ name: "rowrrrr"
187
+ },
188
+ joinLink: "https://call.whatsapp.com/video/DapzSYZ",
189
+ startTime: "1763019000",
190
+ endTime: "1763026200",
191
+ extraGuestsAllowed: false
192
+ }
193
+ }, { quoted: m });
194
+ ```
195
+
196
+ ### Poll Result Message
197
+ Menampilkan hasil polling beserta jumlah vote:
198
+
199
+ ```javascript
200
+ await client.sendMessage(m.chat, {
201
+ pollResultMessage: {
202
+ name: "Hello World",
203
+ pollVotes: [
204
+ {
205
+ optionName: "TEST 1",
206
+ optionVoteCount: "112233"
207
+ },
208
+ {
209
+ optionName: "TEST 2",
210
+ optionVoteCount: "1"
211
+ }
212
+ ]
213
+ }
214
+ }, { quoted: m });
215
+ ```
216
+
217
+ ### Simple Interactive Message
218
+ Mengirim pesan interaktif dasar dengan tombol salin:
219
+
220
+ ```javascript
221
+ await client.sendMessage(m.chat, {
222
+ interactiveMessage: {
223
+ header: "Hello World",
224
+ title: "Hello World",
225
+ footer: "telegram: @DapzSYZ ",
226
+ buttons: [
227
+ {
228
+ name: "cta_copy",
229
+ buttonParamsJson: JSON.stringify({
230
+ display_text: "copy code",
231
+ id: "123456789",
232
+ copy_code: "ABC123XYZ"
233
+ })
234
+ }
235
+ ]
236
+ }
237
+ }, { quoted: m });
238
+ ```
239
+
240
+ ### Interactive Message dengan Native Flow
241
+ Mengirim pesan interaktif dengan tombol dan fitur native flow:
242
+
243
+ ```javascript
244
+ await client.sendMessage(m.chat, {
245
+ interactiveMessage: {
246
+ header: "Hello World",
247
+ title: "Hello World",
248
+ footer: "telegram: @DapzSYZ",
249
+ image: { url: "https://example.com/image.jpg" },
250
+ nativeFlowMessage: {
251
+ messageParamsJson: JSON.stringify({
252
+ limited_time_offer: {
253
+ text: "idk hummmm?",
254
+ url: "https://t.me/DapzSYZ",
255
+ copy_code: "ravage",
256
+ expiration_time: Date.now() * 999
257
+ },
258
+ bottom_sheet: {
259
+ in_thread_buttons_limit: 2,
260
+ divider_indices: [1, 2, 3, 4, 5, 999],
261
+ list_title: "ravage native",
262
+ button_title: "ravage native"
263
+ },
264
+ tap_target_configuration: {
265
+ title: " X ",
266
+ description: "bomboclard",
267
+ canonical_url: "https://t.me/DapzSYZ",
268
+ domain: "shop.example.com",
269
+ button_index: 0
270
+ }
271
+ }),
272
+ buttons: [
273
+ {
274
+ name: "single_select",
275
+ buttonParamsJson: JSON.stringify({
276
+ has_multiple_buttons: true
277
+ })
278
+ },
279
+ {
280
+ name: "call_permission_request",
281
+ buttonParamsJson: JSON.stringify({
282
+ has_multiple_buttons: true
283
+ })
284
+ },
285
+ {
286
+ name: "single_select",
287
+ buttonParamsJson: JSON.stringify({
288
+ title: "Hello World",
289
+ sections: [
290
+ {
291
+ title: "title",
292
+ highlight_label: "label",
293
+ rows: [
294
+ {
295
+ title: "@DapzSYZ",
296
+ description: "love you",
297
+ id: "row_2"
298
+ }
299
+ ]
300
+ }
301
+ ],
302
+ has_multiple_buttons: true
303
+ })
304
+ },
305
+ {
306
+ name: "cta_copy",
307
+ buttonParamsJson: JSON.stringify({
308
+ display_text: "copy code",
309
+ id: "123456789",
310
+ copy_code: "ABC123XYZ"
311
+ })
312
+ }
313
+ ]
314
+ }
315
+ }
316
+ }, { quoted: m });
317
+ ```
318
+
319
+ ### Interactive Message dengan Thumbnail
320
+ Mengirim pesan interaktif dengan thumbnail dan tombol salin:
321
+
322
+ ```javascript
323
+ await client.sendMessage(m.chat, {
324
+ interactiveMessage: {
325
+ header: "Hello World",
326
+ title: "Hello World",
327
+ footer: "telegram: @DapzSYZ",
328
+ image: { url: "https://example.com/image.jpg" },
329
+ buttons: [
330
+ {
331
+ name: "cta_copy",
332
+ buttonParamsJson: JSON.stringify({
333
+ display_text: "copy code",
334
+ id: "123456789",
335
+ copy_code: "ABC123XYZ"
336
+ })
337
+ }
338
+ ]
339
+ }
340
+ }, { quoted: m });
341
+ ```
342
+
343
+ ### Product Message
344
+ Mengirim pesan katalog produk dengan tombol dan info merchant:
345
+
346
+ ```javascript
347
+ await client.sendMessage(m.chat, {
348
+ productMessage: {
349
+ title: "Produk Contoh",
350
+ description: "Ini adalah deskripsi produk",
351
+ thumbnail: { url: "https://example.com/image.jpg" },
352
+ productId: "PROD001",
353
+ retailerId: "RETAIL001",
354
+ url: "https://example.com/product",
355
+ body: "Detail produk",
356
+ footer: "Harga spesial",
357
+ priceAmount1000: 50000,
358
+ currencyCode: "USD",
359
+ buttons: [
360
+ {
361
+ name: "cta_url",
362
+ buttonParamsJson: JSON.stringify({
363
+ display_text: "Beli Sekarang",
364
+ url: "https://example.com/buy"
365
+ })
366
+ }
367
+ ]
368
+ }
369
+ }, { quoted: m });
370
+ ```
371
+
372
+ ### Interactive Message dengan Document Buffer
373
+ Mengirim pesan interaktif dengan dokumen dari buffer (file system) — **Catatan: Dokumen hanya mendukung buffer**:
374
+
375
+ ```javascript
376
+ await client.sendMessage(m.chat, {
377
+ interactiveMessage: {
378
+ header: "Hello World",
379
+ title: "Hello World",
380
+ footer: "telegram: @DapzSYZ",
381
+ document: fs.readFileSync("./package.json"),
382
+ mimetype: "application/pdf",
383
+ fileName: "daffadevv.pdf",
384
+ jpegThumbnail: fs.readFileSync("./document.jpeg"),
385
+ contextInfo: {
386
+ mentionedJid: [m.chat],
387
+ forwardingScore: 777,
388
+ isForwarded: false
389
+ },
390
+ externalAdReply: {
391
+ title: "Ravage",
392
+ body: "",
393
+ mediaType: 3,
394
+ thumbnailUrl: "https://example.com/image.jpg",
395
+ mediaUrl: " X ",
396
+ sourceUrl: "https://t.me/DapzSYZ",
397
+ showAdAttribution: true,
398
+ renderLargerThumbnail: false
399
+ },
400
+ buttons: [
401
+ {
402
+ name: "cta_url",
403
+ buttonParamsJson: JSON.stringify({
404
+ display_text: "Telegram",
405
+ url: "https://t.me/DapzSYZ",
406
+ merchant_url: "https://t.me/DapzSYZ"
407
+ })
408
+ }
409
+ ]
410
+ }
411
+ }, { quoted: m });
412
+ ```
413
+
414
+ ### Interactive Message dengan Document Buffer (Simple)
415
+ Mengirim pesan interaktif dengan dokumen dari buffer tanpa contextInfo dan externalAdReply — **Catatan: Dokumen hanya mendukung buffer**:
416
+
417
+ ```javascript
418
+ await client.sendMessage(m.chat, {
419
+ interactiveMessage: {
420
+ header: "Hello World",
421
+ title: "Hello World",
422
+ footer: "telegram: @DapzSYZ",
423
+ document: fs.readFileSync("./package.json"),
424
+ mimetype: "application/pdf",
425
+ fileName: "daffadevv.pdf",
426
+ jpegThumbnail: fs.readFileSync("./document.jpeg"),
427
+ buttons: [
428
+ {
429
+ name: "cta_url",
430
+ buttonParamsJson: JSON.stringify({
431
+ display_text: "Telegram",
432
+ url: "https://t.me/DapzSYZ",
433
+ merchant_url: "https://t.me/DapzSYZ"
434
+ })
435
+ }
436
+ ]
437
+ }
438
+ }, { quoted: m });
439
+ ```
440
+
441
+ ### Request Payment Message
442
+ Mengirim pesan permintaan pembayaran dengan background dan sticker kustom:
443
+
444
+ ```javascript
445
+ let quotedType = m.quoted?.mtype || '';
446
+ let quotedContent = JSON.stringify({ [quotedType]: m.quoted }, null, 2);
447
+
448
+ await client.sendMessage(m.chat, {
449
+ requestPaymentMessage: {
450
+ currency: "IDR",
451
+ amount: 10000000,
452
+ from: m.sender,
453
+ sticker: JSON.parse(quotedContent),
454
+ background: {
455
+ id: "100",
456
+ fileLength: "0",
457
+ width: 1000,
458
+ height: 1000,
459
+ mimetype: "image/webp",
460
+ placeholderArgb: 0xFF00FFFF,
461
+ textArgb: 0xFFFFFFFF,
462
+ subtextArgb: 0xFFAA00FF
463
+ }
464
+ }
465
+ }, { quoted: m });
466
+ ```
467
+
468
+ ---
469
+
470
+ ## Mengapa Memilih WhatsApp Baileys?
471
+
472
+ Karena library ini menawarkan stabilitas tinggi, fitur lengkap, dan proses pairing yang terus ditingkatkan. Ideal bagi developer yang ingin membuat solusi otomatisasi WhatsApp yang profesional dan aman. Dukungan terhadap fitur terbaru WhatsApp memastikan kompatibilitas dengan pembaruan platform.
473
+
474
+ ---
475
+
476
+ ### Catatan Teknis
477
+
478
+ - Mendukung pairing code kustom yang stabil dan aman
479
+ - Memperbaiki masalah terkait pairing dan autentikasi pada versi sebelumnya
480
+ - Fitur pesan interaktif dan tombol aksi untuk membuat menu dinamis
481
+ - Manajemen sesi otomatis yang efisien untuk stabilitas jangka panjang
482
+ - Kompatibel dengan fitur multi-device terbaru WhatsApp
483
+ - Mudah diintegrasikan dan dikustomisasi sesuai kebutuhan
484
+ - Sempurna untuk mengembangkan bot, otomatisasi layanan pelanggan, dan aplikasi komunikasi lainnya
485
+
486
+ ---
487
+
488
+ Untuk dokumentasi lengkap, panduan instalasi, dan contoh implementasi, silakan kunjungi repository resmi dan forum komunitas. Kami terus memperbarui dan meningkatkan library ini untuk memenuhi kebutuhan developer dan pengguna solusi otomatisasi WhatsApp modern.
489
+
490
+ **Terima kasih telah memilih WhatsApp Baileys sebagai solusi otomatisasi WhatsApp Anda!**
@@ -0,0 +1,4 @@
1
+ yarn pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto;
2
+ yarn pbts -o ./WAProto/index.d.ts ./WAProto/index.js;
3
+
4
+ #protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=env=node,useOptionals=true,forceLong=long --ts_proto_out=. ./src/Binary/WAMessage.proto;