n8n-nodes-whatsapp
Version:
Nodes to trigger workflows from whatsapp events or send messages (using whatsapp web).
14 lines • 599 B
TypeScript
import * as WhatsAppWeb from 'whatsapp-web.js';
import { IWhatsAppCredential } from '../../../credentials/WhatsApp.credentials';
export declare class ClientStore {
private _queue;
private readonly _clients;
constructor();
private createAuthStrategy;
create(credential: IWhatsAppCredential, initialize?: boolean): Promise<WhatsAppWeb.Client>;
has(credential: IWhatsAppCredential): Promise<boolean>;
get(credential: IWhatsAppCredential): Promise<WhatsAppWeb.Client>;
}
declare const _default: ClientStore;
export default _default;
//# sourceMappingURL=client-store.d.ts.map