Back to Whatsapp Web Js

whatsapp

docs/LocalAuth.html

1.34.7640 B
Original Source

new LocalAuth(options)

Parameters

NameTypeOptionalDescription

options

|

|

|

options

Values in options have the following properties:

NameTypeOptionalDescription

clientId

|

|

|

Client id to distinguish instances if you are using multiple, otherwise keep null if you are using only one instance

| |

dataPath

|

|

|

Change the default path for saving session files, default is: "./.wwebjs_auth/"

| |

rmMaxRetries

|

|

|

Sets the maximum number of retries for removing the session directory

|

|