#group.sendMessage is not a function
5 messages · Page 1 of 1 (latest)
im just new and im trying to figure how to send messages using ID.
any help would be appreciated
const group = await client.getChatById('XXXXXXXXXXXXX@g.us');
await group.sendMessage(before);
@small grove
it doesnt send the message to the group or even it doesnt execute rest of the code below the group.sendMessage part.
also:
TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r982053 is guaranteed to work.
this error happened when i switched to LocalAuth