zaileys 1.1.26 → 1.1.27
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 +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,8 @@ pnpm add zaileys
|
|
|
77
77
|
|
|
78
78
|
## ⚡ Quick Start
|
|
79
79
|
|
|
80
|
+
For a complete example, see [`/test/example.ts`](https://github.com/zeative/zaileys/blob/main/test/example.ts).
|
|
81
|
+
|
|
80
82
|
```ts
|
|
81
83
|
import { Client } from "zaileys";
|
|
82
84
|
|
|
@@ -114,7 +116,7 @@ const wa = new Client({
|
|
|
114
116
|
});
|
|
115
117
|
|
|
116
118
|
wa.on("messages", (ctx) => {
|
|
117
|
-
wa.
|
|
119
|
+
wa.text("Hello", { roomId: ctx.roomId });
|
|
118
120
|
});
|
|
119
121
|
```
|
|
120
122
|
|