Back to Whatsapp Web Js

whatsapp

docs/RemoteAuth.html

1.34.7848 B
Original Source

new RemoteAuth(options)

Parameters

NameTypeOptionalDescription

options

|

|

|

options

Values in options have the following properties:

NameTypeOptionalDescription

store

|

|

|

Remote database store instance

| |

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/"

| |

backupSyncIntervalMs

|

|

|

Sets the time interval for periodic session backups. Accepts values starting from 60000ms {1 minute}

| |

rmMaxRetries

|

|

|

Sets the maximum number of retries for removing the session directory

|

|