OptionalautoOptionalbrowserPass a external browser instance, can be used with electron
OptionalbrowserParameters to be added into the chrome browser instance
OptionalbrowserPass the session token information you can receive this token with the await client.getSessionTokenBrowser () function
OptionalbrowserIf you want to use browserWSEndpoint
OptionalcatchA callback will be received, informing a code to you connect
OptionalcatchA callback will be received, informing the status of the qrcode
OptionalcreateCreates a folder when inserting an object in the client's browser, to work it is necessary to pass the parameters in the function create browserSessionToken
See tokenStore
OptionaldebugOpens a debug session
OptionaldeviceDefine the connected device name in WhatsApp app
OptionaldeviceAutomatically closes the wppconnect only when is syncing the device (default 180000 miliseconds, 3 minutes, if you want to turn it off, assign 0 or false)
OptionaldevtoolsOpen devtools by default
OptionaldisableDisable custom Google Analytics
OptionaldisableWill disable the welcoming message which appears in the beginning
OptionalfolderFolder name when saving tokens if tokenStore is 'file'.
OptionalgoogleCustom Google Analytics Tracker Id, like 'G-XXXXXXXXXX' collect analytics data to your GA account
OptionalheadlessHeadless chrome
OptionallinkSet custom Link Preview API servers
OptionalloggerWait for in chat to return a instance of Whatsapp
OptionallogLogs QR automatically in terminal
Optionalmkdirfolder directory tokens, just inside the wppconnect folder, example: { mkdirFolderToken: '/node_modules', } //will save the tokens folder in the node_modules directory
See tokenStore
OptionalonA callback will be received, informing data as percentage and loading screen message
OptionalpagePass a external page instance, can be used with electron
OptionalphoneInsert the phone number for connect by link phone, qr code not wil generate
OptionalpoweredCustom variable for Google Analytics
OptionalproxyDefine the proxy settings for the connection
The password for the proxy server
The URL of the proxy server
The username for the proxy server
OptionalpuppeteerWill be passed to puppeteer.launch
OptionalsessionYou must pass a string type parameter, this parameter will be the name of the client's session. If the parameter is not passed, the section name will be "session".
OptionalsessionInitial token to log in in WhatsApp. If not passed, the client will get it from tokenStore.
OptionalstatusA callback will be received, informing the customer's status
OptionaltokenToken store used to manage token tokenStore
OptionalupdatesLogs info updates automatically in terminal
OptionaluseIf false will use Chromium instance
OptionalwaitWait for in chat to return a instance of Whatsapp
OptionalwhatsappQuando definido, essa opção força o carregamento de uma versão específica do WhatsApp WEB Normalmente, versões mais antigas continuam funcionando por mais um tempo, assim, com essa opção, é possível ter uma janela de tempo maior para se preparar para atualizações. Caso seja definido vazio ou null, será usado a versão atual, ou seja, sem forçar versão específica.
Automatically closes the wppconnect only when scanning the QR code (default 60000 miliseconds, if you want to turn it off, assign 0 or false)