Compare commits
2
Commits
c1d7adc2a9
...
699bfa8de5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
699bfa8de5 | ||
|
|
fb0b2208d6 |
@@ -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!",
|
||||
// });
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
serializeMessage,
|
||||
} from "./serializer";
|
||||
|
||||
const WS_URL = "ws://127.0.0.1:8787";
|
||||
const WS_URL = "wss://wa-bridge.rul.sh/ws";
|
||||
|
||||
let socket: WebSocket | undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user