@nuiisweety/baileys 0.1.17 → 0.1.18

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 CHANGED
@@ -4,133 +4,106 @@
4
4
 
5
5
  <br/>
6
6
 
7
- # `@nuiisweety/baileys`
7
+ <h1>
8
+ <img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=28&duration=3000&pause=1000&color=F472B6&center=true&vCenter=true&width=500&lines=%40nuiisweety%2Fbaileys" alt="@nuiisweety/baileys"/>
9
+ </h1>
8
10
 
9
- <p>Fork dari <a href="https://github.com/WhiskeySockets/Baileys"><b>@whiskeysockets/baileys</b></a> v7.0.0-rc11 &nbsp;·&nbsp; dikembangkan dengan sepenuh hati oleh <b>NuiiS4TORU</b></p>
11
+ <p>
12
+ Fork dari <a href="https://github.com/WhiskeySockets/Baileys"><b>@whiskeysockets/baileys</b></a> v7.0.0-rc11
13
+ &nbsp;·&nbsp;
14
+ dikembangkan dengan sepenuh hati oleh <b>NuiiS4TORU</b>
15
+ </p>
10
16
 
11
17
  <p>
12
- <img src="https://img.shields.io/badge/versi-0.1.17-ff69b4?style=for-the-badge&logo=npm&logoColor=white" alt="version"/>
18
+ <img src="https://img.shields.io/badge/versi-0.1.18-ff69b4?style=for-the-badge&logo=npm&logoColor=white" alt="version"/>
13
19
  <img src="https://img.shields.io/badge/lisensi-MIT-c084fc?style=for-the-badge" alt="license"/>
14
20
  <img src="https://img.shields.io/badge/platform-Node.js-22c55e?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="platform"/>
15
21
  <img src="https://img.shields.io/badge/WhatsApp-API-25d366?style=for-the-badge&logo=whatsapp&logoColor=white" alt="whatsapp"/>
16
22
  </p>
17
23
 
24
+ <br/>
25
+
26
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%"/>
27
+
18
28
  </div>
19
29
 
20
- ---
30
+ <br/>
21
31
 
22
32
  ## 📋 Daftar Isi
23
33
 
24
- <table>
25
- <tr>
26
- <td valign="top" width="25%">
27
-
28
- **🔌 Koneksi & Setup**
29
- - [Instalasi](#-instalasi)
30
- - [QR Code](#-koneksi-qr-code)
31
- - [Pairing Code](#-koneksi-pairing-code)
32
- - [Browser Identity](#-browser-identity)
33
- - [Opsi Koneksi](#%EF%B8%8F-opsi-koneksi)
34
-
35
- **📨 Handle Pesan**
36
- - [Terima Pesan](#-terima-pesan)
37
- - [Handle Grup](#-handle-grup)
38
-
39
- **📤 Kirim Pesan**
40
- - [Teks](#-teks)
41
- - [Gambar](#%EF%B8%8F-gambar)
42
- - [Video](#-video)
43
- - [Audio & Voice Note](#%EF%B8%8F-audio--voice-note)
44
- - [Dokumen](#-dokumen)
45
- - [Sticker](#-sticker)
46
- - [Lokasi](#-lokasi)
47
- - [Kontak](#-kontak)
48
-
49
- </td>
50
- <td valign="top" width="25%">
51
-
52
- **💬 Interaksi**
53
- - [Reaksi](#-reaksi)
54
- - [Poll](#-poll)
55
- - [Poll Result](#-poll-result)
56
- - [Poll Update](#-poll-update)
57
- - [Forward](#%EF%B8%8F-forward)
58
- - [Hapus Pesan](#%EF%B8%8F-hapus-pesan)
59
- - [Edit Pesan](#%EF%B8%8F-edit-pesan)
60
- - [Pin Pesan](#-pin-pesan)
61
-
62
- **✨ Fitur Tambahan**
63
- - [Album](#%EF%B8%8F-album)
64
- - [Event](#-event)
65
- - [Group Status / Story](#-group-status--group-story)
66
- - [Status Mention](#%EF%B8%8F-status-mention)
67
- - [Channel (Newsletter)](#-channel-newsletter)
68
- - [Flow Reply](#-flow-reply)
69
- - [Button Reply](#-button-reply)
70
- - [Keep In Chat](#-keep-in-chat)
71
- - [Scheduled Call](#-scheduled-call)
72
- - [Group Invite](#-group-invite)
73
- - [Product](#%EF%B8%8F-product)
74
-
75
- </td>
76
- <td valign="top" width="25%">
77
-
78
- **🎁 Wrapper**
79
- - [View Once](#%EF%B8%8F-view-once)
80
- - [View Once V2](#%EF%B8%8F-view-once-v2)
81
- - [Ephemeral](#-ephemeral)
82
- - [Spoiler](#-spoiler)
83
- - [Group Status Wrap](#-group-status-wrap)
84
- - [Lottie Sticker](#%EF%B8%8F-lottie-sticker)
85
- - [AI Icon](#-ai-icon)
86
- - [Secure Meta Label](#-secure-meta-service-label)
87
-
88
- **🎛️ Interactive**
89
- - [Buttons Location Header](#-buttons-dengan-location-header)
90
- - [Buttons](#%EF%B8%8F-buttons)
91
- - [List Message](#-list-message)
92
- - [Template Buttons](#%EF%B8%8F-template-buttons)
93
- - [Native Flow](#-native-flow)
94
- - [Carousel](#-carousel)
95
-
96
- **🔧 Lainnya**
97
- - [List Reply](#-list-reply)
98
- - [Sticker Pack](#-sticker-pack)
99
- - [External Ad Reply](#-external-ad-reply)
100
- - [Request Payment](#-request-payment)
101
- - [Invoice](#-invoice)
102
- - [Order](#-order)
103
- - [Disappearing Messages](#-disappearing-messages)
104
- - [Raw Message](#-raw-message)
105
-
106
- </td>
107
- <td valign="top" width="25%">
108
-
109
- **🤖 Rich Message (AI)**
110
- - [addText](#-addtext)
111
- - [addCode](#-addcode)
112
- - [addTable](#-addtable)
113
- - [addImage](#%EF%B8%8F-addimage)
114
- - [addVideo](#-addvideo)
115
- - [addSource](#-addsource)
116
- - [addReels](#-addreels)
117
- - [addProduct](#%EF%B8%8F-addproduct)
118
- - [addPost](#-addpost)
119
- - [addTip](#-addtip)
120
- - [addSuggest](#-addsuggest)
121
- - [Map](#%EF%B8%8F-map-rich)
122
- - [LaTeX](#-latex-rich)
123
- - [Grid Image](#%EF%B8%8F-grid-image-rich)
124
- - [Inline Image](#-inline-image-rich)
125
- - [Dynamic/GIF](#%EF%B8%8F-dynamic--gif-rich)
126
- - [Content Items](#-content-items-rich)
127
- - [Rich Response](#-rich-response-gabungan)
128
- - [Terima & Decode](#-terima--decode-rich-message)
129
-
130
- </td>
131
- </tr>
132
- </table>
34
+ <details open>
35
+ <summary><b>🔌 Koneksi & Setup</b></summary>
36
+ <br/>
37
+
38
+ > [Instalasi](#-instalasi) &nbsp;·&nbsp; [QR Code](#-koneksi-qr-code) &nbsp;·&nbsp; [Pairing Code](#-koneksi-pairing-code) &nbsp;·&nbsp; [Browser Identity](#-browser-identity) &nbsp;·&nbsp; [Opsi Koneksi](#%EF%B8%8F-opsi-koneksi)
39
+
40
+ </details>
41
+
42
+ <details open>
43
+ <summary><b>📨 Handle Pesan</b></summary>
44
+ <br/>
45
+
46
+ > [Terima Pesan](#-terima-pesan) &nbsp;·&nbsp; [Handle Grup](#-handle-grup)
47
+
48
+ </details>
49
+
50
+ <details open>
51
+ <summary><b>📤 Kirim Pesan</b></summary>
52
+ <br/>
53
+
54
+ > [Teks](#-teks) &nbsp;·&nbsp; [Gambar](#%EF%B8%8F-gambar) &nbsp;·&nbsp; [Video](#-video) &nbsp;·&nbsp; [Audio & Voice Note](#%EF%B8%8F-audio--voice-note) &nbsp;·&nbsp; [Dokumen](#-dokumen) &nbsp;·&nbsp; [Sticker](#-sticker) &nbsp;·&nbsp; [Lokasi](#-lokasi) &nbsp;·&nbsp; [Kontak](#-kontak)
55
+
56
+ </details>
57
+
58
+ <details open>
59
+ <summary><b>💬 Interaksi</b></summary>
60
+ <br/>
61
+
62
+ > [Reaksi](#-reaksi) &nbsp;·&nbsp; [Poll](#-poll) &nbsp;·&nbsp; [Poll Result](#-poll-result) &nbsp;·&nbsp; [Poll Update](#-poll-update) &nbsp;·&nbsp; [Forward](#%EF%B8%8F-forward) &nbsp;·&nbsp; [Hapus Pesan](#%EF%B8%8F-hapus-pesan) &nbsp;·&nbsp; [Edit Pesan](#%EF%B8%8F-edit-pesan) &nbsp;·&nbsp; [Pin Pesan](#-pin-pesan)
63
+
64
+ </details>
65
+
66
+ <details open>
67
+ <summary><b>✨ Fitur Tambahan</b></summary>
68
+ <br/>
69
+
70
+ > [Album](#%EF%B8%8F-album) &nbsp;·&nbsp; [Event](#-event) &nbsp;·&nbsp; [Group Status / Story](#-group-status--group-story) &nbsp;·&nbsp; [Status Mention](#%EF%B8%8F-status-mention) &nbsp;·&nbsp; [Channel (Newsletter)](#-channel-newsletter) &nbsp;·&nbsp; [Flow Reply](#-flow-reply) &nbsp;·&nbsp; [Button Reply](#-button-reply) &nbsp;·&nbsp; [Keep In Chat](#-keep-in-chat) &nbsp;·&nbsp; [Scheduled Call](#-scheduled-call) &nbsp;·&nbsp; [Group Invite](#-group-invite) &nbsp;·&nbsp; [Product](#%EF%B8%8F-product)
71
+
72
+ </details>
73
+
74
+ <details open>
75
+ <summary><b>🎁 Wrapper</b></summary>
76
+ <br/>
77
+
78
+ > [View Once](#%EF%B8%8F-view-once) &nbsp;·&nbsp; [View Once V2](#%EF%B8%8F-view-once-v2) &nbsp;·&nbsp; [Ephemeral](#-ephemeral) &nbsp;·&nbsp; [Spoiler](#-spoiler) &nbsp;·&nbsp; [Group Status Wrap](#-group-status-wrap) &nbsp;·&nbsp; [Lottie Sticker](#%EF%B8%8F-lottie-sticker) &nbsp;·&nbsp; [AI Icon](#-ai-icon) &nbsp;·&nbsp; [Secure Meta Label](#-secure-meta-service-label)
79
+
80
+ </details>
81
+
82
+ <details open>
83
+ <summary><b>🎛️ Interactive</b></summary>
84
+ <br/>
85
+
86
+ > [Buttons Location Header](#-buttons-dengan-location-header) &nbsp;·&nbsp; [Buttons](#%EF%B8%8F-buttons) &nbsp;·&nbsp; [List Message](#-list-message) &nbsp;·&nbsp; [Template Buttons](#%EF%B8%8F-template-buttons) &nbsp;·&nbsp; [Native Flow](#-native-flow) &nbsp;·&nbsp; [Carousel](#-carousel)
87
+
88
+ </details>
89
+
90
+ <details open>
91
+ <summary><b>🔧 Lainnya</b></summary>
92
+ <br/>
93
+
94
+ > [List Reply](#-list-reply) &nbsp;·&nbsp; [Sticker Pack](#-sticker-pack) &nbsp;·&nbsp; [External Ad Reply](#-external-ad-reply) &nbsp;·&nbsp; [Request Payment](#-request-payment) &nbsp;·&nbsp; [Invoice](#-invoice) &nbsp;·&nbsp; [Order](#-order) &nbsp;·&nbsp; [Disappearing Messages](#-disappearing-messages) &nbsp;·&nbsp; [Raw Message](#-raw-message)
95
+
96
+ </details>
97
+
98
+ <details open>
99
+ <summary><b>🤖 Rich Message (AI)</b></summary>
100
+ <br/>
133
101
 
102
+ > [addText](#-addtext) &nbsp;·&nbsp; [addCode](#-addcode) &nbsp;·&nbsp; [addTable](#-addtable) &nbsp;·&nbsp; [addImage](#%EF%B8%8F-addimage) &nbsp;·&nbsp; [addVideo](#-addvideo) &nbsp;·&nbsp; [addSource](#-addsource) &nbsp;·&nbsp; [addReels](#-addreels) &nbsp;·&nbsp; [addProduct](#%EF%B8%8F-addproduct) &nbsp;·&nbsp; [addPost](#-addpost) &nbsp;·&nbsp; [addTip](#-addtip) &nbsp;·&nbsp; [addSuggest](#-addsuggest) &nbsp;·&nbsp; [Map](#%EF%B8%8F-map-rich) &nbsp;·&nbsp; [LaTeX](#-latex-rich) &nbsp;·&nbsp; [Grid Image](#%EF%B8%8F-grid-image-rich) &nbsp;·&nbsp; [Inline Image](#-inline-image-rich) &nbsp;·&nbsp; [Dynamic/GIF](#%EF%B8%8F-dynamic--gif-rich) &nbsp;·&nbsp; [Content Items](#-content-items-rich) &nbsp;·&nbsp; [Rich Response](#-rich-response-gabungan) &nbsp;·&nbsp; [Terima & Decode](#-terima--decode-rich-message)
103
+
104
+ </details>
105
+
106
+ <br/>
134
107
  ---
135
108
 
136
109
  ## 📦 Instalasi
@@ -143,7 +116,9 @@ const { default: makeWASocket } = require('@nuiisweety/baileys')
143
116
  import makeWASocket from '@nuiisweety/baileys'
144
117
  ```
145
118
 
146
- ---
119
+
120
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
121
+
147
122
 
148
123
  ## 📱 Koneksi QR Code
149
124
 
@@ -178,7 +153,9 @@ async function start() {
178
153
  start()
179
154
  ```
180
155
 
181
- ---
156
+
157
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
158
+
182
159
 
183
160
  ## 🔑 Koneksi Pairing Code
184
161
 
@@ -204,7 +181,9 @@ if (!sock.authState.creds.registered) {
204
181
  const code = await sock.requestPairingCode('628123456789', 'NUYY2822')
205
182
  ```
206
183
 
207
- ---
184
+
185
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
186
+
208
187
 
209
188
  ## 🌐 Browser Identity
210
189
 
@@ -221,7 +200,9 @@ makeWASocket({
221
200
  })
222
201
  ```
223
202
 
224
- ---
203
+
204
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
205
+
225
206
 
226
207
  ## ⚙️ Opsi Koneksi
227
208
 
@@ -241,7 +222,9 @@ makeWASocket({
241
222
  })
242
223
  ```
243
224
 
244
- ---
225
+
226
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
227
+
245
228
 
246
229
  ## 📬 Terima Pesan
247
230
 
@@ -269,7 +252,9 @@ sock.ev.on('messages.upsert', async ({ messages, type }) => {
269
252
  })
270
253
  ```
271
254
 
272
- ---
255
+
256
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
257
+
273
258
 
274
259
  ## 👥 Handle Grup
275
260
 
@@ -312,7 +297,9 @@ await sock.sendMessage(groupJid, {
312
297
  })
313
298
  ```
314
299
 
315
- ---
300
+
301
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
302
+
316
303
 
317
304
  ## 💬 Teks
318
305
 
@@ -326,7 +313,9 @@ await sock.sendMessage(jid, {
326
313
  }, { quoted: m })
327
314
  ```
328
315
 
329
- ---
316
+
317
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
318
+
330
319
 
331
320
  ## 🖼️ Gambar
332
321
 
@@ -344,7 +333,9 @@ await sock.sendMessage(jid, {
344
333
  })
345
334
  ```
346
335
 
347
- ---
336
+
337
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
338
+
348
339
 
349
340
  ## 🎬 Video
350
341
 
@@ -362,7 +353,9 @@ await sock.sendMessage(jid, {
362
353
  })
363
354
  ```
364
355
 
365
- ---
356
+
357
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
358
+
366
359
 
367
360
  ## 🎙️ Audio & Voice Note
368
361
 
@@ -381,7 +374,9 @@ await sock.sendMessage(jid, {
381
374
  })
382
375
  ```
383
376
 
384
- ---
377
+
378
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
379
+
385
380
 
386
381
  ## 📄 Dokumen
387
382
 
@@ -394,7 +389,9 @@ await sock.sendMessage(jid, {
394
389
  })
395
390
  ```
396
391
 
397
- ---
392
+
393
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
394
+
398
395
 
399
396
  ## 🎴 Sticker
400
397
 
@@ -402,7 +399,9 @@ await sock.sendMessage(jid, {
402
399
  await sock.sendMessage(jid, { sticker: fs.readFileSync('sticker.webp') })
403
400
  ```
404
401
 
405
- ---
402
+
403
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
404
+
406
405
 
407
406
  ## 📍 Lokasi
408
407
 
@@ -417,7 +416,9 @@ await sock.sendMessage(jid, {
417
416
  })
418
417
  ```
419
418
 
420
- ---
419
+
420
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
421
+
421
422
 
422
423
  ## 👤 Kontak
423
424
 
@@ -432,7 +433,9 @@ await sock.sendMessage(jid, {
432
433
  })
433
434
  ```
434
435
 
435
- ---
436
+
437
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
438
+
436
439
 
437
440
  ## ❤️ Reaksi
438
441
 
@@ -443,7 +446,9 @@ await sock.sendMessage(jid, { react: { text: '❤️', key: m.key } })
443
446
  await sock.sendMessage(jid, { react: { text: '', key: m.key } })
444
447
  ```
445
448
 
446
- ---
449
+
450
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
451
+
447
452
 
448
453
  ## 📊 Poll
449
454
 
@@ -481,7 +486,9 @@ await sock.sendMessage(jid, {
481
486
  })
482
487
  ```
483
488
 
484
- ---
489
+
490
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
491
+
485
492
 
486
493
  ## 📈 Poll Result
487
494
 
@@ -498,7 +505,9 @@ await sock.sendMessage(jid, {
498
505
  })
499
506
  ```
500
507
 
501
- ---
508
+
509
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
510
+
502
511
 
503
512
  ## 🔄 Poll Update
504
513
 
@@ -512,7 +521,9 @@ await sock.sendMessage(jid, {
512
521
  })
513
522
  ```
514
523
 
515
- ---
524
+
525
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
526
+
516
527
 
517
528
  ## ↗️ Forward
518
529
 
@@ -523,7 +534,9 @@ await sock.sendMessage(jid, {
523
534
  })
524
535
  ```
525
536
 
526
- ---
537
+
538
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
539
+
527
540
 
528
541
  ## 🗑️ Hapus Pesan
529
542
 
@@ -531,7 +544,9 @@ await sock.sendMessage(jid, {
531
544
  await sock.sendMessage(jid, { delete: m.key })
532
545
  ```
533
546
 
534
- ---
547
+
548
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
549
+
535
550
 
536
551
  ## ✏️ Edit Pesan
537
552
 
@@ -542,7 +557,9 @@ await sock.sendMessage(jid, {
542
557
  })
543
558
  ```
544
559
 
545
- ---
560
+
561
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
562
+
546
563
 
547
564
  ## 📌 Pin Pesan
548
565
 
@@ -558,7 +575,9 @@ await sock.sendMessage(jid, {
558
575
  await sock.sendMessage(jid, { pin: m.key, type: 2 })
559
576
  ```
560
577
 
561
- ---
578
+
579
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
580
+
562
581
 
563
582
  ## 🗂️ Album
564
583
 
@@ -573,7 +592,9 @@ await sock.sendMessage(jid, {
573
592
  // minimal 2 media
574
593
  ```
575
594
 
576
- ---
595
+
596
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
597
+
577
598
 
578
599
  ## 📅 Event
579
600
 
@@ -604,7 +625,9 @@ await sock.sendMessage(jid, {
604
625
  })
605
626
  ```
606
627
 
607
- ---
628
+
629
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
630
+
608
631
 
609
632
  ## 📖 Group Status / Group Story
610
633
 
@@ -650,7 +673,9 @@ await sock.sendMessage(groupJid, {
650
673
 
651
674
  > **Catatan audio:** Saat audio dikirim sebagai group status (`groupStatusMessageV2`), pesan dikirim dengan `type="text"` dan tanpa `mediatype` attribute — perilaku sama dengan Baileys upstream. Berbeda dengan media lain (gambar/video) yang dikirim dengan `type="media"`.
652
675
 
653
- ---
676
+
677
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
678
+
654
679
 
655
680
  ## 🏷️ Status Mention
656
681
 
@@ -670,7 +695,9 @@ await sock.sendMessage(['628xxx@s.whatsapp.net'], {
670
695
 
671
696
  > Untuk grup, otomatis pakai `groupStatusMentionMessage`.
672
697
 
673
- ---
698
+
699
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
700
+
674
701
 
675
702
  ## 📡 Channel (Newsletter)
676
703
 
@@ -742,7 +769,9 @@ await sock.sendMessage(channelJid, { delete: pesanLama.key })
742
769
 
743
770
  > **Catatan:** Channel tidak mendukung enkripsi E2E — media di-upload sebagai file mentah (unencrypted), berbeda dengan chat biasa.
744
771
 
745
- ---
772
+
773
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
774
+
746
775
 
747
776
  ## 🔁 Flow Reply
748
777
 
@@ -758,7 +787,9 @@ await sock.sendMessage(jid, {
758
787
  })
759
788
  ```
760
789
 
761
- ---
790
+
791
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
792
+
762
793
 
763
794
  ## 🔘 Button Reply
764
795
 
@@ -776,7 +807,9 @@ await sock.sendMessage(jid, {
776
807
  })
777
808
  ```
778
809
 
779
- ---
810
+
811
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
812
+
780
813
 
781
814
  ## 📎 Keep In Chat
782
815
 
@@ -787,7 +820,9 @@ await sock.sendMessage(jid, {
787
820
  })
788
821
  ```
789
822
 
790
- ---
823
+
824
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
825
+
791
826
 
792
827
  ## 📞 Scheduled Call
793
828
 
@@ -801,7 +836,9 @@ await sock.sendMessage(jid, {
801
836
  })
802
837
  ```
803
838
 
804
- ---
839
+
840
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
841
+
805
842
 
806
843
  ## 🔗 Group Invite
807
844
 
@@ -817,7 +854,9 @@ await sock.sendMessage(jid, {
817
854
  })
818
855
  ```
819
856
 
820
- ---
857
+
858
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
859
+
821
860
 
822
861
  ## 🛍️ Product
823
862
 
@@ -837,7 +876,9 @@ await sock.sendMessage(jid, {
837
876
  })
838
877
  ```
839
878
 
840
- ---
879
+
880
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
881
+
841
882
 
842
883
  ## 👁️ View Once
843
884
 
@@ -848,7 +889,9 @@ await sock.sendMessage(jid, {
848
889
  })
849
890
  ```
850
891
 
851
- ---
892
+
893
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
894
+
852
895
 
853
896
  ## 👁️ View Once V2
854
897
 
@@ -865,7 +908,9 @@ await sock.sendMessage(jid, {
865
908
  })
866
909
  ```
867
910
 
868
- ---
911
+
912
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
913
+
869
914
 
870
915
  ## ⏳ Ephemeral
871
916
 
@@ -876,7 +921,9 @@ await sock.sendMessage(jid, {
876
921
  })
877
922
  ```
878
923
 
879
- ---
924
+
925
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
926
+
880
927
 
881
928
  ## 🙈 Spoiler
882
929
 
@@ -888,7 +935,9 @@ await sock.sendMessage(jid, {
888
935
  })
889
936
  ```
890
937
 
891
- ---
938
+
939
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
940
+
892
941
 
893
942
  ## 🎭 Group Status Wrap
894
943
 
@@ -918,7 +967,9 @@ await sock.sendMessage(jid, {
918
967
 
919
968
  > **Catatan audio:** Pesan audio yang dibungkus `groupStatus: true` dikirim dengan `type="text"` dan tanpa `mediatype` (perilaku Baileys upstream). Ini hanya berlaku untuk audio — gambar dan video tetap dikirim sebagai `type="media"`.
920
969
 
921
- ---
970
+
971
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
972
+
922
973
 
923
974
  ## 🎞️ Lottie Sticker
924
975
 
@@ -929,7 +980,9 @@ await sock.sendMessage(jid, {
929
980
  })
930
981
  ```
931
982
 
932
- ---
983
+
984
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
985
+
933
986
 
934
987
  ## 🤖 AI Icon
935
988
 
@@ -944,7 +997,9 @@ await sock.sendMessage(jid, {
944
997
  })
945
998
  ```
946
999
 
947
- ---
1000
+
1001
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1002
+
948
1003
 
949
1004
  ## 🔒 Secure Meta Service Label
950
1005
 
@@ -955,7 +1010,9 @@ await sock.sendMessage(jid, {
955
1010
  })
956
1011
  ```
957
1012
 
958
- ---
1013
+
1014
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1015
+
959
1016
 
960
1017
  ## 📍 Buttons dengan Location Header
961
1018
 
@@ -1007,7 +1064,9 @@ await sock.sendMessage(jid, {
1007
1064
 
1008
1065
  > `jpegThumbnail` pada `locationMessage` bisa berupa **path file lokal**, **URL**, atau **Buffer** — otomatis diproses oleh Baileys.
1009
1066
 
1010
- ---
1067
+
1068
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1069
+
1011
1070
 
1012
1071
  ## 🎛️ Buttons
1013
1072
 
@@ -1052,7 +1111,9 @@ await sock.sendMessage(jid, {
1052
1111
 
1053
1112
  > **Field tombol:** gunakan `text` atau `buttonText` untuk label. Quick reply pakai `id`/`buttonId`. Native flow pakai `name` + `paramsJson`.
1054
1113
 
1055
- ---
1114
+
1115
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1116
+
1056
1117
 
1057
1118
  ## 📋 List Message
1058
1119
 
@@ -1082,7 +1143,9 @@ await sock.sendMessage(jid, {
1082
1143
 
1083
1144
  > **Trigger key:** `sections`. `listType` otomatis di-set ke `SINGLE_SELECT`. Field `text` di-map ke `description` — gunakan `title` untuk judul list.
1084
1145
 
1085
- ---
1146
+
1147
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1148
+
1086
1149
 
1087
1150
  ## 🗃️ Template Buttons
1088
1151
 
@@ -1114,7 +1177,9 @@ await sock.sendMessage(jid, {
1114
1177
 
1115
1178
  > **Tipe tombol:** `{ id, text }` → quick reply &nbsp;·&nbsp; `{ url, text }` → URL button &nbsp;·&nbsp; `{ call, text }` → call button.
1116
1179
 
1117
- ---
1180
+
1181
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1182
+
1118
1183
 
1119
1184
  ## 🌊 Native Flow
1120
1185
 
@@ -1208,7 +1273,9 @@ await sock.sendMessage(jid, {
1208
1273
 
1209
1274
  > **Tipe tombol ditentukan otomatis:** `id` → quick_reply &nbsp;·&nbsp; `url` → cta_url &nbsp;·&nbsp; `copy` → cta_copy &nbsp;·&nbsp; `call` → cta_call &nbsp;·&nbsp; `sections` → single_select. Field `icon` opsional (contoh: `'CHECK'`, `'LINK'`).
1210
1275
 
1211
- ---
1276
+
1277
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1278
+
1212
1279
 
1213
1280
  ## 🎠 Carousel
1214
1281
 
@@ -1238,7 +1305,9 @@ await sock.sendMessage(jid, {
1238
1305
  })
1239
1306
  ```
1240
1307
 
1241
- ---
1308
+
1309
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1310
+
1242
1311
 
1243
1312
  ## 🤖 Rich Message (AI)
1244
1313
 
@@ -1246,7 +1315,9 @@ await sock.sendMessage(jid, {
1246
1315
 
1247
1316
  > ⚠️ **Penting:** `contentText`, `headerText`, `footerText`, dan `disclaimerText` **bukan** trigger key. Jika hanya field itu yang dikirim, pesan tidak akan diproses sebagai rich message dan menghasilkan **Error: Invalid media type**. Selalu sertakan minimal satu trigger key (`code`, `table`, `richImage`, `richVideo`, `richResponse`, dll).
1248
1317
 
1249
- ---
1318
+
1319
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1320
+
1250
1321
 
1251
1322
  ### ✍️ addText
1252
1323
 
@@ -1271,7 +1342,9 @@ await sock.sendMessage(jid, {
1271
1342
  })
1272
1343
  ```
1273
1344
 
1274
- ---
1345
+
1346
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1347
+
1275
1348
 
1276
1349
  ### 💻 addCode
1277
1350
 
@@ -1308,7 +1381,9 @@ await sock.sendMessage(jid, {
1308
1381
  | JSON | `json` |
1309
1382
  | YAML | `yaml`, `yml` |
1310
1383
 
1311
- ---
1384
+
1385
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1386
+
1312
1387
 
1313
1388
  ### 📊 addTable
1314
1389
 
@@ -1336,7 +1411,9 @@ await sock.sendMessage(jid, {
1336
1411
  })
1337
1412
  ```
1338
1413
 
1339
- ---
1414
+
1415
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1416
+
1340
1417
 
1341
1418
  ### 🖼️ addImage
1342
1419
 
@@ -1358,7 +1435,9 @@ await sock.sendMessage(jid, {
1358
1435
  })
1359
1436
  ```
1360
1437
 
1361
- ---
1438
+
1439
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1440
+
1362
1441
 
1363
1442
  ### 🎬 addVideo
1364
1443
 
@@ -1385,7 +1464,9 @@ await sock.sendMessage(jid, {
1385
1464
  })
1386
1465
  ```
1387
1466
 
1388
- ---
1467
+
1468
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1469
+
1389
1470
 
1390
1471
  ### 🔗 addSource
1391
1472
 
@@ -1419,7 +1500,9 @@ await sock.sendMessage(jid, {
1419
1500
  | `favicon` | string | URL favicon (opsional) |
1420
1501
  | `source_type` | string | Default `'THIRD_PARTY'` |
1421
1502
 
1422
- ---
1503
+
1504
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1505
+
1423
1506
 
1424
1507
  ### 🎥 addReels
1425
1508
 
@@ -1454,7 +1537,9 @@ await sock.sendMessage(jid, {
1454
1537
  | `reel_source` / `source` | string | `'IG'`, `'TT'`, dll |
1455
1538
  | `is_verified` / `verified` | boolean | Akun terverifikasi |
1456
1539
 
1457
- ---
1540
+
1541
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1542
+
1458
1543
 
1459
1544
  ### 🛍️ addProduct
1460
1545
 
@@ -1495,7 +1580,9 @@ await sock.sendMessage(jid, {
1495
1580
 
1496
1581
  > Object tunggal → **Single layout** &nbsp;·&nbsp; Array → **HScroll layout**
1497
1582
 
1498
- ---
1583
+
1584
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1585
+
1499
1586
 
1500
1587
  ### 📝 addPost
1501
1588
 
@@ -1538,7 +1625,9 @@ await sock.sendMessage(jid, {
1538
1625
  })
1539
1626
  ```
1540
1627
 
1541
- ---
1628
+
1629
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1630
+
1542
1631
 
1543
1632
  ### 💡 addTip
1544
1633
 
@@ -1549,7 +1638,9 @@ await sock.sendMessage(jid, {
1549
1638
  })
1550
1639
  ```
1551
1640
 
1552
- ---
1641
+
1642
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1643
+
1553
1644
 
1554
1645
  ### 🔮 addSuggest
1555
1646
 
@@ -1566,7 +1657,9 @@ await sock.sendMessage(jid, {
1566
1657
  })
1567
1658
  ```
1568
1659
 
1569
- ---
1660
+
1661
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1662
+
1570
1663
 
1571
1664
  ### 🗺️ Map (Rich)
1572
1665
 
@@ -1592,7 +1685,9 @@ await sock.sendMessage(jid, {
1592
1685
  })
1593
1686
  ```
1594
1687
 
1595
- ---
1688
+
1689
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1690
+
1596
1691
 
1597
1692
  ### 🧮 LaTeX (Rich)
1598
1693
 
@@ -1612,7 +1707,9 @@ await sock.sendMessage(jid, {
1612
1707
  })
1613
1708
  ```
1614
1709
 
1615
- ---
1710
+
1711
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1712
+
1616
1713
 
1617
1714
  ### 🖼️ Grid Image (Rich)
1618
1715
 
@@ -1626,7 +1723,9 @@ await sock.sendMessage(jid, {
1626
1723
  })
1627
1724
  ```
1628
1725
 
1629
- ---
1726
+
1727
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1728
+
1630
1729
 
1631
1730
  ### 📸 Inline Image (Rich)
1632
1731
 
@@ -1642,7 +1741,9 @@ await sock.sendMessage(jid, {
1642
1741
  })
1643
1742
  ```
1644
1743
 
1645
- ---
1744
+
1745
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1746
+
1646
1747
 
1647
1748
  ### 🎞️ Dynamic / GIF (Rich)
1648
1749
 
@@ -1658,7 +1759,9 @@ await sock.sendMessage(jid, {
1658
1759
  })
1659
1760
  ```
1660
1761
 
1661
- ---
1762
+
1763
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1764
+
1662
1765
 
1663
1766
  ### 📦 Content Items (Rich)
1664
1767
 
@@ -1680,7 +1783,9 @@ await sock.sendMessage(jid, {
1680
1783
  })
1681
1784
  ```
1682
1785
 
1683
- ---
1786
+
1787
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1788
+
1684
1789
 
1685
1790
  ### 🎁 Rich Response (Gabungan)
1686
1791
 
@@ -1702,7 +1807,9 @@ await sock.sendMessage(jid, {
1702
1807
  })
1703
1808
  ```
1704
1809
 
1705
- ---
1810
+
1811
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1812
+
1706
1813
 
1707
1814
  ### 📥 Terima & Decode Rich Message
1708
1815
 
@@ -1735,7 +1842,9 @@ sock.ev.on('messages.upsert', async ({ messages }) => {
1735
1842
 
1736
1843
  > `parseRichMessage` menerima `null` atau `undefined` dengan aman — return `null` jika tidak ada rich message.
1737
1844
 
1738
- ---
1845
+
1846
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1847
+
1739
1848
 
1740
1849
  ### Standalone Functions
1741
1850
 
@@ -1768,7 +1877,9 @@ await sock.sendRichMessage(jid, [
1768
1877
  ], m)
1769
1878
  ```
1770
1879
 
1771
- ---
1880
+
1881
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1882
+
1772
1883
 
1773
1884
  ## 📃 List Reply
1774
1885
 
@@ -1782,7 +1893,9 @@ await sock.sendMessage(jid, {
1782
1893
  })
1783
1894
  ```
1784
1895
 
1785
- ---
1896
+
1897
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1898
+
1786
1899
 
1787
1900
  ## 🎴 Sticker Pack
1788
1901
 
@@ -1807,7 +1920,9 @@ await sock.sendMessage(jid, {
1807
1920
  })
1808
1921
  ```
1809
1922
 
1810
- ---
1923
+
1924
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1925
+
1811
1926
 
1812
1927
  ## 📢 External Ad Reply
1813
1928
 
@@ -1825,7 +1940,9 @@ await sock.sendMessage(jid, {
1825
1940
  })
1826
1941
  ```
1827
1942
 
1828
- ---
1943
+
1944
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1945
+
1829
1946
 
1830
1947
  ## 💳 Request Payment
1831
1948
 
@@ -1839,7 +1956,9 @@ await sock.sendMessage(jid, {
1839
1956
  })
1840
1957
  ```
1841
1958
 
1842
- ---
1959
+
1960
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1961
+
1843
1962
 
1844
1963
  ## 🧾 Invoice
1845
1964
 
@@ -1859,7 +1978,9 @@ await sock.sendMessage(jid, {
1859
1978
  })
1860
1979
  ```
1861
1980
 
1862
- ---
1981
+
1982
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
1983
+
1863
1984
 
1864
1985
  ## 📦 Order
1865
1986
 
@@ -1881,7 +2002,9 @@ await sock.sendMessage(jid, {
1881
2002
  })
1882
2003
  ```
1883
2004
 
1884
- ---
2005
+
2006
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
2007
+
1885
2008
 
1886
2009
  ## 💨 Disappearing Messages
1887
2010
 
@@ -1898,7 +2021,9 @@ await sock.sendMessage(groupJid, { disappearingMessagesInChat: 604800 }) // 7 h
1898
2021
 
1899
2022
  > Hanya berfungsi di grup (`@g.us`).
1900
2023
 
1901
- ---
2024
+
2025
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/solar.png" width="100%"/>
2026
+
1902
2027
 
1903
2028
  ## ⚡ Raw Message
1904
2029
 
@@ -1913,12 +2038,23 @@ await sock.sendMessage(jid, {
1913
2038
 
1914
2039
  > Ketika `raw: true` ada, semua properti lain diteruskan langsung sebagai WAProto message tanpa pemrosesan tambahan.
1915
2040
 
1916
- ---
2041
+
2042
+ <br/>
2043
+
2044
+ <img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%"/>
1917
2045
 
1918
2046
  <div align="center">
1919
2047
 
1920
2048
  <br/>
1921
2049
 
1922
- *Dibuat dengan dedikasi oleh **NuiiS4TORU***
2050
+ <img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=14&duration=4000&pause=1000&color=C084FC&center=true&vCenter=true&width=500&lines=Dibuat+dengan+%E2%9D%A4%EF%B8%8F+oleh+NuiiS4TORU;%40nuiisweety%2Fbaileys+%E2%80%94+fork+Baileys+terbaik" alt="footer"/>
2051
+
2052
+ <br/><br/>
2053
+
2054
+ <img src="https://img.shields.io/badge/Made%20with-%E2%9D%A4%EF%B8%8F-ff69b4?style=for-the-badge" alt="made with love"/>
2055
+ &nbsp;
2056
+ <img src="https://img.shields.io/badge/Indonesia-🇮🇩-red?style=for-the-badge" alt="indonesia"/>
2057
+
2058
+ <br/><br/>
1923
2059
 
1924
2060
  </div>