update test client
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { WhatsAppClient } from "./whatsapp";
|
||||
|
||||
const wa = new WhatsAppClient("ws://127.0.0.1:8787");
|
||||
const wa = new WhatsAppClient("wss://wa-bridge.rul.sh/ws");
|
||||
await wa.connect();
|
||||
|
||||
const chats = await wa.listChats({
|
||||
@@ -37,6 +37,6 @@ console.log(
|
||||
// });
|
||||
|
||||
// await wa.sendText({
|
||||
// chatId: "628123456789@c.us",
|
||||
// chatId: "6289521024344@c.us",
|
||||
// text: "Hello from Node!",
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user