Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

wwebjs-google-cloud-storage

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wwebjs-google-cloud-storage

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

latest
Source
npmnpm
Version
1.0.9
Version published
Weekly downloads
21
-27.59%
Maintainers
1
Weekly downloads
 
Created
Source

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.

  • Guide / Getting Started (work in progress)
  • GitHub
  • npm

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'});

Keywords

wwebjs

FAQs

Package last updated on 08 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts