βStarting Client
import { WhatsappJS } from '@efesoroglu/whatsappjs'
const client = new WhatsappJS("<your-api-key>", "<channel-phone-number>");
client.start();
import { WhatsappJS } from '@efesoroglu/whatsappjs'
const client = new WhatsappJS("<your-api-key>", "<channel-phone-number>");
client.once('ready', (client) => {
console.log(`The bot started with the name ${client.client_name} (${client.phone_number})!`);
});
client.start();Last updated