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

    Variable eventNamesConst

    eventNames: <
        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",
    >(
        nsAsArray?: boolean,
    ) => Name[] = ...

    Type declaration

      • <
            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",
        >(
            nsAsArray?: boolean,
        ): Name[]
      • Returns an array listing the events for which the emitter has registered listeners.

        Note: Listeners order not guaranteed

        Type Parameters

        • 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"

        Parameters

        • OptionalnsAsArray: boolean

        Returns Name[]