@pontasockets/baileys 0.2.7 → 0.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 +8 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -486,7 +486,10 @@ await sock.sendMessage(jid, {
|
|
|
486
486
|
|
|
487
487
|
> **Tipe yang valid di dalam `items`:**
|
|
488
488
|
> - `{ text: 'string' }` — teks / markdown
|
|
489
|
-
> -
|
|
489
|
+
> - `{ code: 'string', language: 'string' }` — code block
|
|
490
|
+
> - `{ table: { title?, headers?, rows } }` — tabel
|
|
491
|
+
|
|
492
|
+
</details>
|
|
490
493
|
|
|
491
494
|
<details>
|
|
492
495
|
<summary><b>🔗 Inline Citation Message <kbd>NEW</kbd></b></summary>
|
|
@@ -599,8 +602,7 @@ await sock.sendMessage(jid, {
|
|
|
599
602
|
}]
|
|
600
603
|
},
|
|
601
604
|
{
|
|
602
|
-
code: 'curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
|
603
|
-
apt-get install -y nodejs',
|
|
605
|
+
code: 'curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -\napt-get install -y nodejs',
|
|
604
606
|
language: 'bash'
|
|
605
607
|
},
|
|
606
608
|
{
|
|
@@ -611,12 +613,11 @@ apt-get install -y nodejs',
|
|
|
611
613
|
```
|
|
612
614
|
|
|
613
615
|
> **Tipe yang valid di dalam `richResponse`:**
|
|
614
|
-
> - `{ text, inlineEntities? }` — teks/markdown
|
|
615
|
-
> - `{ code, language }` — code block
|
|
616
|
+
> - `{ text, inlineEntities? }` — teks / markdown dengan optional citation
|
|
617
|
+
> - `{ code, language }` — code block
|
|
616
618
|
> - `{ table, title? }` — tabel, `table` berupa `[{ items: string[], isHeading?: bool }, ...]`
|
|
617
619
|
|
|
618
|
-
</details
|
|
619
|
-
> - `{ table: { title?, headers?, rows } }` — tabel
|
|
620
|
+
</details>
|
|
620
621
|
|
|
621
622
|
</details>
|
|
622
623
|
|