kage-baileys 3.2.4 → 3.2.6
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 +15 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1423,13 +1423,13 @@ Distribuido bajo la Licencia GPL-3.0. Consulta [LICENSE](LICENSE) para más info
|
|
|
1423
1423
|
|
|
1424
1424
|
<div align="center">
|
|
1425
1425
|
|
|
1426
|
-
<img src="https://
|
|
1426
|
+
<img src="https://files.catbox.moe/v346sd.png" alt="Header Imagen" width="100%"/>
|
|
1427
1427
|
|
|
1428
1428
|
<br/>
|
|
1429
1429
|
|
|
1430
1430
|
<!-- Badges -->
|
|
1431
1431
|
<p>
|
|
1432
|
-
<img src="https://img.shields.io/npm/dw/%
|
|
1432
|
+
<img src="https://img.shields.io/npm/dw/%40kage%2Fbaileys?label=npm&color=%23CB3837" alt="NPM Downloads"/>
|
|
1433
1433
|
|
|
1434
1434
|
## Referencia completa de la API de Kage
|
|
1435
1435
|
|
|
@@ -1643,7 +1643,7 @@ connectToWhatsApp()
|
|
|
1643
1643
|
import pino from "pino"
|
|
1644
1644
|
import { makeInMemoryStore, getAggregateVotesInPollMessage } from 'kage-baileys'
|
|
1645
1645
|
|
|
1646
|
-
const logger = pino({ timestamp: () => `,"time":"${new Date().toJSON()}"` }).child({ class: "@
|
|
1646
|
+
const logger = pino({ timestamp: () => `,"time":"${new Date().toJSON()}"` }).child({ class: "@kage" })
|
|
1647
1647
|
logger.level = "fatal"
|
|
1648
1648
|
const store = makeInMemoryStore({ logger })
|
|
1649
1649
|
|
|
@@ -1847,7 +1847,7 @@ await suki.sendMessage(
|
|
|
1847
1847
|
id,
|
|
1848
1848
|
{
|
|
1849
1849
|
contacts: {
|
|
1850
|
-
displayName: '
|
|
1850
|
+
displayName: 'kage',
|
|
1851
1851
|
contacts: [{ vcard }]
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
@@ -2116,7 +2116,7 @@ await suki.sendMessage(
|
|
|
2116
2116
|
{
|
|
2117
2117
|
stickerPack: {
|
|
2118
2118
|
name: 'Hiii',
|
|
2119
|
-
publisher: 'By
|
|
2119
|
+
publisher: 'By kage',
|
|
2120
2120
|
description: 'Hello',
|
|
2121
2121
|
cover: Buffer, // Image buffer
|
|
2122
2122
|
stickers: [{
|
|
@@ -2518,7 +2518,7 @@ await suki.sendMessage(
|
|
|
2518
2518
|
flow_message_version: '3',
|
|
2519
2519
|
flow_token: '1:1307913409923914:293680f87029f5a13d1ec5e35e718af3',
|
|
2520
2520
|
flow_id: '1307913409923914',
|
|
2521
|
-
flow_cta: '
|
|
2521
|
+
flow_cta: 'kage kawaii >\\<',
|
|
2522
2522
|
flow_action: 'navigate',
|
|
2523
2523
|
flow_action_payload: {
|
|
2524
2524
|
screen: 'QUESTION_ONE',
|
|
@@ -2679,7 +2679,7 @@ await suki.sendMessage(
|
|
|
2679
2679
|
description: 'Description',
|
|
2680
2680
|
currencyCode: 'IDR',
|
|
2681
2681
|
priceAmount1000: '283xxx',
|
|
2682
|
-
retailerId: '
|
|
2682
|
+
retailerId: 'kage',
|
|
2683
2683
|
url: 'https://example.com',
|
|
2684
2684
|
productImageCount: 1
|
|
2685
2685
|
},
|
|
@@ -2716,8 +2716,8 @@ await suki.sendMessage(
|
|
|
2716
2716
|
payment_settings: [{
|
|
2717
2717
|
type: "pix_static_code",
|
|
2718
2718
|
pix_static_code: {
|
|
2719
|
-
merchant_name: '
|
|
2720
|
-
key: 'example@
|
|
2719
|
+
merchant_name: 'kage kawaii >\\\\\\<',
|
|
2720
|
+
key: 'example@kage.com',
|
|
2721
2721
|
key_type: 'EMAIL' // PHONE || EMAIL || CPF || EVP
|
|
2722
2722
|
}
|
|
2723
2723
|
}]
|
|
@@ -2761,7 +2761,7 @@ await suki.sendMessage(
|
|
|
2761
2761
|
order_type: 'PAYMENT_REQUEST',
|
|
2762
2762
|
items: [{
|
|
2763
2763
|
retailer_id: 'your_retailer_id',
|
|
2764
|
-
name: '
|
|
2764
|
+
name: 'kage Kawaii >\\\<',
|
|
2765
2765
|
amount: {
|
|
2766
2766
|
value: '999999999',
|
|
2767
2767
|
offset: '100'
|
|
@@ -2769,7 +2769,7 @@ await suki.sendMessage(
|
|
|
2769
2769
|
quantity: '1',
|
|
2770
2770
|
}]
|
|
2771
2771
|
},
|
|
2772
|
-
additional_note: '
|
|
2772
|
+
additional_note: 'kage Kawaii >\\\<',
|
|
2773
2773
|
native_payment_methods: [],
|
|
2774
2774
|
share_payment_status: false
|
|
2775
2775
|
})
|
|
@@ -2945,7 +2945,7 @@ await suki.sendMessage(
|
|
|
2945
2945
|
description: 'Description',
|
|
2946
2946
|
currencyCode: 'IDR',
|
|
2947
2947
|
priceAmount1000: '283xxx',
|
|
2948
|
-
retailerId: '
|
|
2948
|
+
retailerId: 'kage',
|
|
2949
2949
|
url: 'https://example.com',
|
|
2950
2950
|
productImageCount: 1
|
|
2951
2951
|
},
|
|
@@ -3083,7 +3083,7 @@ await suki.sendMessage(
|
|
|
3083
3083
|
description: 'Description',
|
|
3084
3084
|
currencyCode: 'IDR',
|
|
3085
3085
|
priceAmount1000: '283xxx',
|
|
3086
|
-
retailerId: '
|
|
3086
|
+
retailerId: 'kage',
|
|
3087
3087
|
url: 'https://example.com',
|
|
3088
3088
|
productImageCount: 1
|
|
3089
3089
|
},
|
|
@@ -3246,7 +3246,7 @@ await suki.sendMessage(
|
|
|
3246
3246
|
{
|
|
3247
3247
|
album: [{
|
|
3248
3248
|
image: {
|
|
3249
|
-
url: 'https://example.com/
|
|
3249
|
+
url: 'https://example.com/kage.jpg'
|
|
3250
3250
|
},
|
|
3251
3251
|
caption: 'Hay'
|
|
3252
3252
|
}, {
|
|
@@ -3254,7 +3254,7 @@ await suki.sendMessage(
|
|
|
3254
3254
|
caption: 'Hay'
|
|
3255
3255
|
}, {
|
|
3256
3256
|
video: {
|
|
3257
|
-
url: 'https://example.com/
|
|
3257
|
+
url: 'https://example.com/kage.mp4'
|
|
3258
3258
|
},
|
|
3259
3259
|
caption: 'Hay'
|
|
3260
3260
|
}, {
|