nestwhats
Version:
A whatsapp-web.js wrapper for NestJS to create WhatsApp bots
12 lines (11 loc) • 556 B
TypeScript
import { OnApplicationBootstrap, OnApplicationShutdown, OnModuleInit } from "@nestjs/common";
import { Client } from "whatsapp-web.js";
import { ConfigurableModuleClass } from "./nestwhats.module-definition";
export declare class NestWhatsModule extends ConfigurableModuleClass implements OnApplicationBootstrap, OnApplicationShutdown, OnModuleInit {
private readonly client;
private readonly logger;
constructor(client: Client);
onApplicationBootstrap(): void;
onApplicationShutdown(signal?: string): void;
onModuleInit(): void;
}