nestwhats
Version:
A whatsapp-web.js wrapper for NestJS to create WhatsApp bots
14 lines (13 loc) • 443 B
TypeScript
import { NestWhatsBaseDiscovery } from "../context";
export interface ListenerMeta {
type: "once" | "on";
event: string | symbol | number;
client?: string | string[];
}
export declare class ListenerDiscovery extends NestWhatsBaseDiscovery<ListenerMeta> {
getType(): "once" | "on";
getEvent(): string;
getClients(): string[] | undefined;
isListener(): this is ListenerDiscovery;
toJSON(): Record<string, any>;
}