1.0.9 • Published 10 months ago

wwebjs-google-cloud-storage v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

wwebjs-google-cloud-storage

A Google Cloud Storage plugin for whatsapp-web.js!

Use WwebjsCloudStorage to save your WhatsApp MultiDevice session on a Google Cloud Storage.

Quick Links

Installation

The module is now available on npm! npm i wwebjs-google-cloud-storage

Example usage

const { Client, RemoteAuth } = require('whatsapp-web.js');
const { WwebjsCloudStorage } = require('wwebjs-google-cloud-storage');

const store = new WwebjsCloudStorage('./key.json', 'bucket-name');
const client = new Client({
    authStrategy: new RemoteAuth({
        store: store,
        backupSyncIntervalMs: 300000
    })
});

client.initialize();

Delete Remote Session

How to force delete a specific remote session on the Database:

await store.delete({session: 'yourSessionName'});
1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago