@itsliaaa/baileys 0.1.0 → 0.1.1
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 -8
- package/WAProto/index.js +1044 -20
- package/lib/Defaults/index.js +1 -1
- package/lib/Utils/generics.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A lightweight fork of Baileys with a few fixes and a small adjustment.
|
|
6
6
|
|
|
7
|
-
### ⚙️
|
|
7
|
+
### ⚙️ Changes
|
|
8
8
|
|
|
9
9
|
#### 🛠️ Internal Adjustments
|
|
10
10
|
- 🖼️ Fixed an issue where media could not be sent to newsletters due to an upstream issue.
|
|
@@ -27,7 +27,7 @@ A lightweight fork of Baileys with a few fixes and a small adjustment.
|
|
|
27
27
|
>
|
|
28
28
|
> 😞 And, really sorry for my bad english.
|
|
29
29
|
|
|
30
|
-
### 📥
|
|
30
|
+
### 📥 Installation
|
|
31
31
|
|
|
32
32
|
- 📄 Via `package.json`
|
|
33
33
|
|
|
@@ -63,7 +63,7 @@ import { makeWASocket } from '@itsliaaa/baileys'
|
|
|
63
63
|
const { makeWASocket } = require('@itsliaaa/baileys')
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
### 🔧
|
|
66
|
+
### 🔧 Usage
|
|
67
67
|
|
|
68
68
|
#### 🌐 Connect to WhatsApp (Quick Step)
|
|
69
69
|
|
|
@@ -260,14 +260,14 @@ sock.sendMessage(jid, {
|
|
|
260
260
|
```javascript
|
|
261
261
|
const vcard = 'BEGIN:VCARD\n'
|
|
262
262
|
+ 'VERSION:3.0\n'
|
|
263
|
-
+ 'FN:
|
|
263
|
+
+ 'FN:Lia Wynn\n'
|
|
264
264
|
+ 'ORG:Waiters;\n'
|
|
265
265
|
+ 'TEL;type=CELL;type=VOICE;waid=628123456789:+62 8123 4567 89\n'
|
|
266
266
|
+ 'END:VCARD'
|
|
267
267
|
|
|
268
268
|
sock.sendMessage(jid, {
|
|
269
269
|
contacts: {
|
|
270
|
-
displayName: '
|
|
270
|
+
displayName: 'Lia',
|
|
271
271
|
contacts: [
|
|
272
272
|
{ vcard }
|
|
273
273
|
]
|
|
@@ -462,7 +462,7 @@ sock.sendMessage(jid, {
|
|
|
462
462
|
}
|
|
463
463
|
}],
|
|
464
464
|
name: '📦 My Sticker Pack',
|
|
465
|
-
publisher: '🌟
|
|
465
|
+
publisher: '🌟 Lia Wynn',
|
|
466
466
|
description: '@itsliaaa/baileys'
|
|
467
467
|
}, {
|
|
468
468
|
quoted: message
|
|
@@ -1063,11 +1063,11 @@ const group = await sock.groupGetInviteInfo('https://chat.whatsapp.com/ABC123')
|
|
|
1063
1063
|
console.log('👥 Got group info from link', ':', group)
|
|
1064
1064
|
```
|
|
1065
1065
|
|
|
1066
|
-
## 📦
|
|
1066
|
+
## 📦 Fork Base
|
|
1067
1067
|
> [!NOTE]
|
|
1068
1068
|
This fork is based on [Baileys (GitHub)](https://github.com/WhiskeySockets/Baileys)
|
|
1069
1069
|
|
|
1070
|
-
## 📣
|
|
1070
|
+
## 📣 Credits
|
|
1071
1071
|
> [!IMPORTANT]
|
|
1072
1072
|
This fork uses Protocol Buffer definitions maintained by [WPP Connect](https://github.com/wppconnect-team) via [`wa-proto`](https://github.com/wppconnect-team/wa-proto)
|
|
1073
1073
|
>
|