@wppconnect/wa-js - v3.17.0
    Preparing search index...

    Variable addListenerConst

    addListener: <
        Name extends
            | "blocklist.sync"
            | "call.incoming_call"
            | (keyof ChatEventTypes)
            | "config.update"
            | (keyof ConnEventTypes)
            | "group.participant_changed"
            | "order.payment_status"
            | "status.sync"
            | (keyof WebpackEvents)
            | "alfa"
            | "beta",
    >(
        event: Name,
        listener: (
            ...args: ListenerType<
                (
                    BlocklistEventTypes & CallEventTypes & ChatEventTypes & ConfigEventTypes & ConnEventTypes & GroupEventTypes & OrderEventTypes & StatusEventTypes & WebpackEvents & {
                        alfa: string;
                        beta: (from: number, to: string) => void;
                    }
                )[Name],
            >,
        ) => void,
    ) => | Listener
    | ev.EventEmitter<
        BlocklistEventTypes & CallEventTypes & ChatEventTypes & ConfigEventTypes & ConnEventTypes & GroupEventTypes & OrderEventTypes & StatusEventTypes & WebpackEvents & {
            alfa: string;
            beta: (from: number, to: string) => void;
        },
    > = ...

    Type declaration