Skip to content

Sections

Multiple Sections

After executing the create() function, Superchats will create a Whatsapp instance. If you are not logged in, a QR code will be printed on the terminal. Scan it with your phone and you're ready to go! Superchats will remember the session, so there is no need to authenticate every time. Multiple sessions can be created at the same time by passing a session name to the create() function:

javascript
// Start sales section

superchats.create({session:'vendas', license: "asjdh-efddff734-sdsdf834-233272"}).then((salesClient) => {...});

// Start sales sipport
superchats.create({session:'suporte', license: "asjdh-efddff734-sdsdf834-233272"}).then((supportClient) => {...});

All rights reserved to Orkestral LLC